From 767caad593a211262d55bb968232608e0ed2f600 Mon Sep 17 00:00:00 2001 From: Michel Weststrate Date: Tue, 29 Mar 2022 02:22:36 -0700 Subject: [PATCH] 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 --- desktop/scripts/compute-package-checksum.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/desktop/scripts/compute-package-checksum.tsx b/desktop/scripts/compute-package-checksum.tsx index 11d3655ed..0968c0176 100644 --- a/desktop/scripts/compute-package-checksum.tsx +++ b/desktop/scripts/compute-package-checksum.tsx @@ -30,7 +30,6 @@ const argv = yargs }, }) .help() - .strict() .parse(process.argv.slice(1)); computePackageChecksum(argv.dir, argv.out)