Testing the updater...

This commit is contained in:
Azareal 2018-04-04 09:12:38 +01:00
parent 29aa0ae381
commit aa5f2d1d8b

View File

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