Skip to content

Commit 83cea5c

Browse files
arichard-infolgandecki
authored andcommitted
fix: fix unwanted remove of windows checks
1 parent e0b92f9 commit 83cea5c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

cypress-tags.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,9 @@ paths.forEach(featurePath => {
5757
try {
5858
if (featuresToRun.length || envTags === "") {
5959
execFileSync(
60-
`${__dirname}/../.bin/cypress`,
60+
process.platform === "win32"
61+
? `${__dirname}/../.bin/cypress.cmd`
62+
: `${__dirname}/../.bin/cypress`,
6163
[...process.argv.slice(2), "--spec", featuresToRun.join(",")],
6264
{
6365
stdio: [process.stdin, process.stdout, process.stderr]

0 commit comments

Comments
 (0)