From 913fbdb69074f232fd99367e79f1974ba914f2bf Mon Sep 17 00:00:00 2001 From: pk Date: Thu, 12 Sep 2024 00:23:50 +0200 Subject: [PATCH] Fix again... --- cmd/hoster_cli/commands/new.go | 2 +- cmd/hoster_cli/hoster.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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",