Testing the updater...
This commit is contained in:
parent
29aa0ae381
commit
aa5f2d1d8b
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue