Fixed the worktree in the updater.

This commit is contained in:
Azareal 2018-04-04 08:07:24 +01:00
parent ca935d61a8
commit f3f06655db
1 changed files with 2 additions and 2 deletions

View File

@ -41,9 +41,9 @@ func pressAnyKey(scanner *bufio.Scanner) {
func updater(scanner *bufio.Scanner) error {
fmt.Println("Welcome to Gosora's Upgrader")
fmt.Print("We're going to check for new updates, please wait patiently")
fmt.Println("We're going to check for new updates, please wait patiently")
repo, err := git.PlainOpen("./.git")
repo, err := git.PlainOpen(".")
if err != nil {
return err
}