diff --git a/packages/node-build-scripts/ts-lint.js b/packages/node-build-scripts/ts-lint.js index cb8b97f300..42d6ea0aa8 100755 --- a/packages/node-build-scripts/ts-lint.js +++ b/packages/node-build-scripts/ts-lint.js @@ -29,7 +29,7 @@ run({ config: configFile, exclude: [], files: ["{src,test}/**/*.tsx"], - fix: "--fix" in process.argv, + fix: process.argv.includes("--fix"), format, out, }, {