Skip to content

Commit

Permalink
fix: allow empty message in logSensitive
Browse files Browse the repository at this point in the history
  • Loading branch information
mdonnalley committed Sep 29, 2021
1 parent 7c28121 commit 5b8edf5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sfCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export abstract class SfCommand<T> extends Command {
* Warn user about sensitive information (access tokens, etc...) before
* logging to the console.
*/
public logSensitive(msg: string): void {
public logSensitive(msg?: string): void {
this.warn(messages.getMessage('warning.security'));
this.log(msg);
}
Expand Down

0 comments on commit 5b8edf5

Please sign in to comment.