diff --git a/cypress-runner.js b/cypress-runner.js index 5d8b19b..883a358 100755 --- a/cypress-runner.js +++ b/cypress-runner.js @@ -25,7 +25,7 @@ const error = (message) => console.log(`cypress-runner: ${message}`) function launchCypress(cypressCmd, path, desiredPort, nospa) { if (!fs.existsSync(path)) { error(`${resolve(path)} doesn't exist, can't serve files`); - process.exit(); + process.exit(-1); } let serve_process, cypress_process;