File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -322,8 +322,8 @@ func setGopath(root string) {
322322
323323// Try to build the project with a build script. If that fails, return a boolean indicating
324324// that we should install dependencies in the normal way.
325- func buildWithoutCustomCommands (modMode project.ModMode ) ( shouldInstallDependencies bool ) {
326- shouldInstallDependencies = false
325+ func buildWithoutCustomCommands (modMode project.ModMode ) bool {
326+ shouldInstallDependencies : = false
327327 // try to run a build script
328328 scriptSucceeded , scriptsExecuted := autobuilder .Autobuild ()
329329 scriptCount := len (scriptsExecuted )
@@ -343,7 +343,7 @@ func buildWithoutCustomCommands(modMode project.ModMode) (shouldInstallDependenc
343343
344344 shouldInstallDependencies = true
345345 }
346- return
346+ return shouldInstallDependencies
347347}
348348
349349// Build the project with custom commands.
You can’t perform that action at this time.
0 commit comments