Skip to content

Commit

Permalink
chore: code review
Browse files Browse the repository at this point in the history
  • Loading branch information
mdonnalley committed Oct 23, 2023
1 parent ca68d6b commit 32b69b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/autocomplete/powershell.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 32b69b1

Please sign in to comment.