Sfoglia il codice sorgente

add hotfix for docker error not getting caught on builds

Alexander Belanger 4 anni fa
parent
commit
d5d68d7e73
1 ha cambiato i file con 3 aggiunte e 1 eliminazioni
  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