Skip to content

Commit d153ac8

Browse files
committed
refactor: move regexp constant
1 parent 84674c4 commit d153ac8

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/argv2Object.mjs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,6 @@ const argv2Object = (unixmode = false) => {
106106
throw new TypeError(THROWS_ERRORS_MESSAGES.INVALID_UNIXMODE_TYPE);
107107
}
108108

109-
const regexp = unixmode ? REGEXPS.UNIXMODE : REGEXPS.SIMPLE;
110-
111109
const argumentsv = process.argv.slice(2);
112110
if (argumentsv.length === 0) {
113111
throw new Error(THROWS_ERRORS_MESSAGES.NO_ARGUMENTS);

0 commit comments

Comments
 (0)