Testing the updater...

This commit is contained in:
Azareal 2018-04-04 09:12:38 +01:00
parent 29aa0ae381
commit aa5f2d1d8b
1 changed files with 0 additions and 1 deletions

View File

@ -60,7 +60,6 @@ func updater(scanner *bufio.Scanner) bool {
return logError(err) return logError(err)
} }
//err = workTree.Pull(&git.PullOptions{RemoteName: "origin"})
err = workTree.Pull(&git.PullOptions{Force: true}) err = workTree.Pull(&git.PullOptions{Force: true})
if err == git.NoErrAlreadyUpToDate { if err == git.NoErrAlreadyUpToDate {
fmt.Println("You are already up-to-date") fmt.Println("You are already up-to-date")