We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent caf8d6d commit dec0f9cCopy full SHA for dec0f9c
packages/acceptance-tests/pkg-tests-core/sources/utils/makeTemporaryEnv.ts
@@ -30,7 +30,7 @@ const mte = generatePkgDriver({
30
const yarnBinary = process.env.TEST_BINARY
31
?? require.resolve(`${__dirname}/../../../../yarnpkg-cli/bundles/yarn.js`);
32
33
- const yarnBinaryArgs = yarnBinary.match(/\.[cm]js$/)
+ const yarnBinaryArgs = yarnBinary.match(/\.[cm]?js$/)
34
? [process.execPath, yarnBinary]
35
: [yarnBinary];
36
0 commit comments