Skip to content

Commit

Permalink
removing whitespace
Browse files Browse the repository at this point in the history
Signed-off-by: chaosinthecrd <[email protected]>
  • Loading branch information
ChaosInTheCRD committed Dec 7, 2023
1 parent 51ac258 commit 990446e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions signer/fulcio/fulcio.go
Original file line number Diff line number Diff line change
Expand Up @@ -230,8 +230,7 @@ func (fsp FulcioSignerProvider) Signer(ctx context.Context) (cryptoutil.Signer,
if err != nil {
return nil, err
}

// we want to fail if both flags used (they're mutually exclusive)
// we want to fail if both flags used (they're mutually exclusive)
case fsp.TokenPath != "" && fsp.Token != "":
return nil, errors.New("only one of --fulcio-token-path or --fulcio-raw-token can be used")
case fsp.Token != "" && fsp.TokenPath == "":
Expand Down

0 comments on commit 990446e

Please sign in to comment.