We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc8cc8e commit 111e486Copy full SHA for 111e486
src/odo/command.ts
@@ -57,7 +57,7 @@ export class CommandText {
57
}
58
59
toString(): string {
60
- return `${this.command}${this.parameter? ` ${this.privacy? 'REDACTED' : this.parameter}`: ''}${this.options? ` ${this.options.join(' ')}`: ''}`;
+ return `${this.command}${this.parameter? ` ${this.privacy? 'REDACTED' : this.parameter}`: ''}${this.options && this.options.length > 0? ` ${this.options.join(' ')}`: ''}`;
61
62
63
privacyMode(set: boolean): CommandText {
0 commit comments