Skip to content
This repository has been archived by the owner on Apr 3, 2018. It is now read-only.

Commit

Permalink
fixed another bug
Browse files Browse the repository at this point in the history
  • Loading branch information
bruno-medeiros committed Feb 25, 2016
1 parent 70d3ef5 commit c09b972
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit c09b972

Please sign in to comment.