Disable .strict() on all tsx yargs scripts

Summary:
Some internal jobs started to fail in the same way as GH did. Applied the same patch as in the parent diff.

I suspect the cause is an earlier update of node / bash / other dep? Couldn't really find anything clearly pointing at the problem

Reviewed By: aigoncharov

Differential Revision: D35212673

fbshipit-source-id: c09956137a4b10537718ffa60223cc4e557f41f7
This commit is contained in:
Michel Weststrate
2022-03-29 09:54:15 -07:00
committed by Facebook GitHub Bot
parent 360c52c67c
commit 5b19b378f6
4 changed files with 0 additions and 4 deletions

View File

@@ -94,7 +94,6 @@ const argv = yargs
}, },
}) })
.help() .help()
.strict()
.parse(process.argv.slice(1)); .parse(process.argv.slice(1));
if (isFB) { if (isFB) {

View File

@@ -67,7 +67,6 @@ const argv = yargs
}, },
}) })
.help() .help()
.strict()
.parse(process.argv.slice(1)); .parse(process.argv.slice(1));
async function buildPlugin() { async function buildPlugin() {

View File

@@ -100,7 +100,6 @@ const argv = yargs
}, },
}) })
.help() .help()
.strict()
.check((argv) => { .check((argv) => {
const targetSpecified = const targetSpecified =
argv.mac || argv.mac ||

View File

@@ -30,7 +30,6 @@ const argv = yargs
}, },
}) })
.help() .help()
.strict()
.parse(process.argv.slice(1)); .parse(process.argv.slice(1));
const pluginsDir = path.join(rootDir, argv.dir); const pluginsDir = path.join(rootDir, argv.dir);