diff --git a/mage_helpers/build.go b/mage_helpers/build.go index eb26eef9b732a1c95879927903f5630cb18d9d58..7dc9396e7ec21e9296e49a6e6719f9d42996b9c4 100644 --- a/mage_helpers/build.go +++ b/mage_helpers/build.go @@ -44,13 +44,7 @@ func Build(dir string, module string, isDebug bool) error { handler := path.Base(fullPath) fmt.Println(fmt.Sprintf("Building %v", handler)) - outputFileName := handler - env := CurrentEnv() - fmt.Println("ENV:", env) - if env == "playground" { - fmt.Println("Using 'bootstrap' for output file name") - outputFileName = "bootstrap" - } + outputFileName := "bootstrap" outputDir := fmt.Sprintf(currentDir+`/core/build/handlers/%v`, handler) outputFile := fmt.Sprintf(`%v/%v`, outputDir, outputFileName)