Skip to content

Commit

Permalink
Fix bug with auto-complete
Browse files Browse the repository at this point in the history
* var_strings don't add "" if a default value isn't available
  • Loading branch information
goetzrrGit committed Sep 3, 2024
1 parent 2b90a4b commit 8177efd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utilities/sequence-editor/command-dictionary.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ export function fswCommandArgDefault(fswCommandArg: FswCommandArgument, enumMap:
const varStringArg = fswCommandArg as FswCommandArgumentVarString;
const { default_value } = varStringArg;

if (default_value !== null) {
if (default_value) {
return default_value;
} else {
return '""';
Expand Down

0 comments on commit 8177efd

Please sign in to comment.