Explorar o código

add hotfix for docker error not getting caught on builds

Alexander Belanger %!s(int64=4) %!d(string=hai) anos
pai
achega
d5d68d7e73
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  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 {
 	if opts.Method == DeployBuildTypeDocker {
-		basePath, err := filepath.Abs(".")
+		var basePath string
+
+		basePath, err = filepath.Abs(".")
 
 
 		if err != nil {
 		if err != nil {
 			return "", err
 			return "", err