From a2b3cd08234e933ed572f3d95d473e19bd6adc99 Mon Sep 17 00:00:00 2001 From: Jesse Duffield Date: Thu, 20 Sep 2018 09:48:56 +1000 Subject: [PATCH] add removeAll to git --- pkg/commands/git.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/commands/git.go b/pkg/commands/git.go index 5bc33b2f5..b394753ca 100644 --- a/pkg/commands/git.go +++ b/pkg/commands/git.go @@ -101,6 +101,7 @@ func NewGitCommand(log *logrus.Entry, osCommand *OSCommand, tr *i18n.Localizer) Repo: repo, getGlobalGitConfig: gitconfig.Global, getLocalGitConfig: gitconfig.Local, + removeFile: os.RemoveAll, }, nil }