summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pkg/commands/git.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/commands/git.go b/pkg/commands/git.go
index c37ca9b47..4163b46e9 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
}