Fix tsc:build on linux machines (#3588)

Summary:
Pull Request resolved: https://github.com/facebook/flipper/pull/3588

Fix failing CI builds on Linux

See screenshot, sometimes the script being executed by ts-node, ends up as argument to the script itself. This seems to happen in CI, and *sometimes* happens for me locally. Since compute-package-checksum doesn't read any varargs anyway, just disabled the `strict` flag to ignore the additional arguments. This fixes our GH builds failing on linux.

Reviewed By: aigoncharov

Differential Revision: D35210590

fbshipit-source-id: 91057fd657a888020ea333495d1f16b7ff9cca50
This commit is contained in:
Michel Weststrate
2022-03-29 02:22:36 -07:00
committed by Facebook GitHub Bot
parent 52483618b3
commit 767caad593

View File

@@ -30,7 +30,6 @@ const argv = yargs
}, },
}) })
.help() .help()
.strict()
.parse(process.argv.slice(1)); .parse(process.argv.slice(1));
computePackageChecksum(argv.dir, argv.out) computePackageChecksum(argv.dir, argv.out)