Skip to content
Snippets Groups Projects
Commit faa1ca2f authored by Jano Hendriks's avatar Jano Hendriks
Browse files

Use bootstrap as executable name for playground environment: update function to get environment

parent a5fa6b23
No related branches found
No related tags found
Loading
......@@ -45,7 +45,7 @@ func Build(dir string, module string, isDebug bool) error {
fmt.Println(fmt.Sprintf("Building %v", handler))
outputFileName := handler
env := os.Getenv("ENVIRONMENT")
env := CurrentEnv()
fmt.Println("ENV:", env)
if env == "playground" {
fmt.Println("Using 'bootstrap' for output file name")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment