Skip to content

Commit

Permalink
Tweaked messages around saveCreds
Browse files Browse the repository at this point in the history
Now we save creds by default, this message is useless
  • Loading branch information
Andrew-Morozko committed Dec 1, 2019
1 parent 1d18f3f commit 72f0f63
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -201,13 +201,8 @@ func main() {
return
}

if authData.Changed() {
if args.SaveCreds {
saveCreds()
} else {
printf("[INFO] Credentials were changed but weren't saved.\n")
printf(" Use --save-creds to save them.\n")
}
if args.SaveCreds && authData.Changed() {
saveCreds()
}

performUpload(jobs, args.MaxParallel)
Expand Down

0 comments on commit 72f0f63

Please sign in to comment.