Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog.d/fixed-ui-reserved-blanks.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Show CLI reserved switch name errors in the builder preview and reset the generated command until the blank is renamed. (#347)
5 changes: 3 additions & 2 deletions dist/ui-bootstrap.test.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/ui-bootstrap.test.js.map

Large diffs are not rendered by default.

28 changes: 26 additions & 2 deletions dist/ui-builder.test.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/ui-builder.test.js.map

Large diffs are not rendered by default.

7 changes: 4 additions & 3 deletions dist/ui-command-quoting.test.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/ui-command-quoting.test.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions dist/ui-interactions.test.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/ui-interactions.test.js.map

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions dist/ui.html
Original file line number Diff line number Diff line change
Expand Up @@ -661,6 +661,7 @@
// browser-only concerns (no glob/file access, HTML escaping) with no CLI
// counterpart to drift from.
import { parseVars, expand as sharedExpand, VAR_PATTERN } from './parser.js';
import { assertNoReservedVars } from './flags.js';
import { cartesian as sharedCartesian, zip as sharedZip } from './iterate.js';

(function () {
Expand Down Expand Up @@ -857,6 +858,7 @@

const results = [];
try {
assertNoReservedVars(parseVars(text));
for (const combo of combos) {
const vals = Object.assign(Object.create(null), scalarValues);
arrayVars.forEach((v, i) => { vals[v.name] = combo[i]; });
Expand Down
1 change: 1 addition & 0 deletions dist/ui.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading