Skip to content

Commit

Permalink
fix(ui): fix suggestions for invalid arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
paradoxuum committed Sep 28, 2024
1 parent c6d4a0f commit 4873671
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export function getSuggestedText(
} else if (!suggestion.others.isEmpty()) {
suggestionText = suggestion.others[0];
} else {
suggestionText = "";
suggestionText = currentTextPart() ?? "";
}

const argNames = getArgumentNames(registry, command);
Expand Down

0 comments on commit 4873671

Please sign in to comment.