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) {
322
322
323
323
// Try to build the project with a build script. If that fails, return a boolean indicating
324
324
// 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
327
327
// try to run a build script
328
328
scriptSucceeded , scriptsExecuted := autobuilder .Autobuild ()
329
329
scriptCount := len (scriptsExecuted )
@@ -343,7 +343,7 @@ func buildWithoutCustomCommands(modMode project.ModMode) (shouldInstallDependenc
343
343
344
344
shouldInstallDependencies = true
345
345
}
346
- return
346
+ return shouldInstallDependencies
347
347
}
348
348
349
349
// Build the project with custom commands.
You can’t perform that action at this time.
0 commit comments