From 4ec554820fa8eec5857c8ef34883b51ca4c148e5 Mon Sep 17 00:00:00 2001 From: BirmacherAkos <37296013+BirmacherAkos@users.noreply.github.com> Date: Mon, 1 Oct 2018 14:30:33 +0200 Subject: [PATCH] fix: trim space from th deploy path input (#75) --- main.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.go b/main.go index f1fe3906..1283ca83 100644 --- a/main.go +++ b/main.go @@ -6,6 +6,7 @@ import ( "html/template" "os" "path/filepath" + "strings" "github.com/bitrise-io/go-utils/log" "github.com/bitrise-io/go-utils/pathutil" @@ -94,6 +95,7 @@ func fail(format string, v ...interface{}) { func main() { configs := createConfigsModelFromEnvs() + configs.DeployPath = strings.TrimSpace(configs.DeployPath) fmt.Println() configs.print()