diff --git a/src/autocomplete/powershell.ts b/src/autocomplete/powershell.ts index 7bdd6112..a05774e9 100644 --- a/src/autocomplete/powershell.ts +++ b/src/autocomplete/powershell.ts @@ -288,7 +288,7 @@ Register-ArgumentCompleter -Native -CommandName ${ // skip hidden flags if (f.hidden) continue - const flagSummary = this.sanitizeSummary(f.summary || f.description) + const flagSummary = this.sanitizeSummary(f.summary ?? f.description) if (f.type === 'option' && f.multiple) { flaghHashtables.push(