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
+1
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
}