diff --git a/plugin_ide.ui/src/com/googlecode/goclipse/ui/editor/actions/GoFmtOperation.java b/plugin_ide.ui/src/com/googlecode/goclipse/ui/editor/actions/GoFmtOperation.java index ea14c73be..e46d38129 100644 --- a/plugin_ide.ui/src/com/googlecode/goclipse/ui/editor/actions/GoFmtOperation.java +++ b/plugin_ide.ui/src/com/googlecode/goclipse/ui/editor/actions/GoFmtOperation.java @@ -45,7 +45,7 @@ protected Path getGofmtLocation(GoEnvironment goEnv) throws CommonException { if(GoToolPreferences.GOFMT_Path.getPreference().get() == null) { return getGofmtLocationFromGoRoot(goEnv.getGoRoot_Location()).toPath(); } - return GoToolPreferences.GOFMT_Path.getDerivedValue(project); + return GoToolPreferences.GOFMT_Path.getDerivedValue(); } public static Location getGofmtLocationFromGoRoot(Location rootLocation) throws CommonException {