From 33d0e227757bb41b54be5431177cb4172e56e4cf Mon Sep 17 00:00:00 2001 From: Pavel Milkevich Date: Fri, 3 May 2024 10:23:42 +0200 Subject: [PATCH] .github folder is not deleted after cloning a repo #539 --- internal/app/commands/project/create.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/internal/app/commands/project/create.go b/internal/app/commands/project/create.go index 477ee86c..80fd5467 100644 --- a/internal/app/commands/project/create.go +++ b/internal/app/commands/project/create.go @@ -105,7 +105,7 @@ var Create = cli.Command{ Usage: "Application name.", }, cli.StringFlag{ - Name: "sandbox, sb, s", + Name: "sandbox, sb, s", Usage: "Sandbox name", }, cli.BoolFlag{ @@ -608,6 +608,7 @@ func isRemoteBranchExist(repo *git.Repository, branch string) (bool, error) { func clearGitData(dest string) { os.RemoveAll(filepath.Join(dest, ".git")) + os.RemoveAll(filepath.Join(dest, ".github")) } type StarterVersion struct {