Compare commits

...
1 Commits
Author SHA1 Message Date
zricethezav 2232dc191c removing bad options guard 2020-06-03 08:51:11 -04:00
-3
View File
@@ -112,9 +112,6 @@ func (opts Options) Guard() error {
if !oneOrNoneSet(opts.AccessToken, opts.Password) {
log.Warn("both access-token and password are set. Only password will be attempted")
}
if !oneOrNoneSet(opts.FilesAtCommit, opts.Commit, opts.CommitTo, opts.CommitFrom) {
return fmt.Errorf("invalid commit options set")
}
return nil
}