Преглед изворни кода

add hotfix for docker error not getting caught on builds

Alexander Belanger пре 4 година
родитељ
комит
d5d68d7e73
1 измењених фајлова са 3 додато и 1 уклоњено
  1. 3 1
      cli/cmd/deploy/create.go

+ 3 - 1
cli/cmd/deploy/create.go

@@ -310,7 +310,9 @@ func (c *CreateAgent) CreateFromDocker(
 	}
 
 	if opts.Method == DeployBuildTypeDocker {
-		basePath, err := filepath.Abs(".")
+		var basePath string
+
+		basePath, err = filepath.Abs(".")
 
 		if err != nil {
 			return "", err