Skip to content
Snippets Groups Projects
Unverified Commit c38e46f3 authored by Florian Greinacher's avatar Florian Greinacher Committed by GitHub
Browse files

fix(config-validator): don't ignore arguments after --strict option (#23813)

parent 4484cbcb
No related branches found
Tags mysql-0.1.11
No related merge requests found
......@@ -62,7 +62,7 @@ type PackageJson = {
const strictArgIndex = process.argv.indexOf('--strict');
const strict = strictArgIndex >= 0;
if (strict) {
process.argv.splice(strictArgIndex);
process.argv.splice(strictArgIndex, 1);
}
if (process.argv.length > 2) {
for (const file of process.argv.slice(2)) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment