From 2232dc191c4b16f6349a79e15ef2ad5e17f12282 Mon Sep 17 00:00:00 2001 From: zricethezav Date: Wed, 3 Jun 2020 08:51:11 -0400 Subject: [PATCH] removing bad options guard --- options/options.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/options/options.go b/options/options.go index cd1fe4bc..3cc400d6 100644 --- a/options/options.go +++ b/options/options.go @@ -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 }