Skip to content

Commit

Permalink
fix issue minimistjs#9
Browse files Browse the repository at this point in the history
  • Loading branch information
nhz-io committed Oct 18, 2022
1 parent d0e819b commit 3d10d5b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion index.js
Expand Up @@ -61,7 +61,9 @@ module.exports = function (args, opts) {
[].concat(opts.string).filter(Boolean).forEach(function (key) {
flags.strings[key] = true;
if (aliases[key]) {
flags.strings[aliases[key]] = true;
[].concat(aliases[key]).forEach(function (k) {
flags.strings[k] = true;
});
}
});

Expand Down

0 comments on commit 3d10d5b

Please sign in to comment.