We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
regexp
1 parent 84674c4 commit d153ac8Copy full SHA for d153ac8
src/argv2Object.mjs
@@ -106,8 +106,6 @@ const argv2Object = (unixmode = false) => {
106
throw new TypeError(THROWS_ERRORS_MESSAGES.INVALID_UNIXMODE_TYPE);
107
}
108
109
- const regexp = unixmode ? REGEXPS.UNIXMODE : REGEXPS.SIMPLE;
110
-
111
const argumentsv = process.argv.slice(2);
112
if (argumentsv.length === 0) {
113
throw new Error(THROWS_ERRORS_MESSAGES.NO_ARGUMENTS);
0 commit comments