summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2018-09-21 09:25:55 +1000
committerGitHub <noreply@github.com>2018-09-21 09:25:55 +1000
commit3101c505821bf225151d0069f2f617382f5bc83b (patch)
treefc71c38b6227de13b62ab51943499f5a9b42f13c
parent7b90d2496b56d89863b552b226f45b8de2bd1551 (diff)
parent70ee4faf15a15ebb8ae28db70fa52dd2e33f6c1e (diff)
Merge pull request #297 from jesseduffield/hotfix/remove-filesv0.3.0
add removeAll to git
-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
}