Merge pull request #297 from jesseduffield/hotfix/remove-files

add removeAll to git
This commit is contained in:
Jesse Duffield 2018-09-21 09:25:55 +10:00 committed by GitHub
commit 3101c50582
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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
}