diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2018-09-20 09:48:56 +1000 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2018-09-20 09:48:56 +1000 |
commit | a2b3cd08234e933ed572f3d95d473e19bd6adc99 (patch) | |
tree | 1b445e56eecfbea4bf83d8466daa9c0c47645733 /pkg | |
parent | 8fac19c17575c78753a0ed4e8116312ca3d5573e (diff) |
add removeAll to git
Diffstat (limited to 'pkg')
-rw-r--r-- | pkg/commands/git.go | 1 |
1 files changed, 1 insertions, 0 deletions
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 } |