From a99a1413621aad0f377c985662d44797bc5059fb Mon Sep 17 00:00:00 2001 From: Alex Pott <alex.a.pott@googlemail.com> Date: Thu, 31 May 2018 13:06:29 +0200 Subject: [PATCH] Issue #2975105 by justafish, drpal, dawehner: JavaScript tests shouldn't exit 0 if they fail --- core/package.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/core/package.json b/core/package.json index d6f405cd898a..eecf6c91b7a6 100644 --- a/core/package.json +++ b/core/package.json @@ -12,11 +12,11 @@ "build:js-dev": "cross-env NODE_ENV=development node BABEL_ENV=legacy ./scripts/js/babel-es6-build.js", "watch:js": "cross-env BABEL_ENV=legacy node ./scripts/js/babel-es6-watch.js", "watch:js-dev": "cross-env NODE_ENV=development BABEL_ENV=legacy node ./scripts/js/babel-es6-watch.js", - "lint:core-js": "node ./node_modules/eslint/bin/eslint.js . || exit 0", - "lint:core-js-passing": "node ./node_modules/eslint/bin/eslint.js --quiet --config=.eslintrc.passing.json . || exit 0", - "lint:core-js-stats": "node ./node_modules/eslint/bin/eslint.js --format=./scripts/js/eslint-stats-by-type.js . || exit 0", - "lint:css": "stylelint \"**/*.css\" || exit 0", - "lint:css-checkstyle": "stylelint \"**/*.css\" --custom-formatter ./node_modules/stylelint-checkstyle-formatter/index.js || exit 0", + "lint:core-js": "node ./node_modules/eslint/bin/eslint.js .", + "lint:core-js-passing": "node ./node_modules/eslint/bin/eslint.js --quiet --config=.eslintrc.passing.json .", + "lint:core-js-stats": "node ./node_modules/eslint/bin/eslint.js --format=./scripts/js/eslint-stats-by-type.js .", + "lint:css": "stylelint \"**/*.css\"", + "lint:css-checkstyle": "stylelint \"**/*.css\" --custom-formatter ./node_modules/stylelint-checkstyle-formatter/index.js", "test:nightwatch": "cross-env BABEL_ENV=development node -r dotenv-safe/config -r babel-register ./node_modules/.bin/nightwatch --config ./tests/Drupal/Nightwatch/nightwatch.conf.js" }, "devDependencies": { -- GitLab