You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
EDIT: this works fine too when not using dot notation.
The text was updated successfully, but these errors were encountered:
mleguen
changed the title
camelcased options are turned to array when aliased
camelcased options using dot notation are turned to array when aliased
Apr 15, 2020
This is a follow-up of yargs/yargs#1620.
Reproduction code:
Output:
$ node index.js { _: [], 'filter-module': { a: 1, b: 2 }, filterModule: { a: [ 1, 1 ], b: [ 2, 2 ] }, f: { a: 1, b: 2 } }
Expected output:
$ node index.js { _: [], 'filter-module': { a: 1, b: 2 }, filterModule: { a: 1, b: 2 }, f: { a: 1, b: 2 } }
This works fine when the
f
alias is removed.EDIT: this works fine too when not using dot notation.
The text was updated successfully, but these errors were encountered: