diff --git a/cmd/hoster_cli/commands/new.go b/cmd/hoster_cli/commands/new.go index fa5090d..9a1b84d 100644 --- a/cmd/hoster_cli/commands/new.go +++ b/cmd/hoster_cli/commands/new.go @@ -29,7 +29,7 @@ func CmdNew(c *cli.Context) error { projectFolder := filepath.Join(projectRoot, name) - if customProjectPath == "" { + if customProjectPath != "" { projectFolder = customProjectPath } diff --git a/cmd/hoster_cli/hoster.go b/cmd/hoster_cli/hoster.go index 576547a..352cba5 100644 --- a/cmd/hoster_cli/hoster.go +++ b/cmd/hoster_cli/hoster.go @@ -22,7 +22,7 @@ func Execute() { app := &cli.App{ Name: "hoster", Usage: "Hoster", - Version: "1.0.7", + Version: "1.0.8", Commands: []*cli.Command{ { Name: "new",