Skip to content

Commit

Permalink
fix: trim space from th deploy path input (#75)
Browse files Browse the repository at this point in the history
  • Loading branch information
BirmacherAkos authored and trapacska committed Oct 1, 2018
1 parent 4699a3e commit 4ec5548
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -94,6 +95,7 @@ func fail(format string, v ...interface{}) {

func main() {
configs := createConfigsModelFromEnvs()
configs.DeployPath = strings.TrimSpace(configs.DeployPath)

fmt.Println()
configs.print()
Expand Down

0 comments on commit 4ec5548

Please sign in to comment.