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:
committed by
Facebook GitHub Bot
parent
360c52c67c
commit
5b19b378f6
@@ -94,7 +94,6 @@ const argv = yargs
|
|||||||
},
|
},
|
||||||
})
|
})
|
||||||
.help()
|
.help()
|
||||||
.strict()
|
|
||||||
.parse(process.argv.slice(1));
|
.parse(process.argv.slice(1));
|
||||||
|
|
||||||
if (isFB) {
|
if (isFB) {
|
||||||
|
|||||||
@@ -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() {
|
||||||
|
|||||||
@@ -100,7 +100,6 @@ const argv = yargs
|
|||||||
},
|
},
|
||||||
})
|
})
|
||||||
.help()
|
.help()
|
||||||
.strict()
|
|
||||||
.check((argv) => {
|
.check((argv) => {
|
||||||
const targetSpecified =
|
const targetSpecified =
|
||||||
argv.mac ||
|
argv.mac ||
|
||||||
|
|||||||
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user