Issue #3189547 by lauriii, bnjmnm: Custom Commands indent: command not found on patches with nightwatch changes

(cherry picked from commit 5fd7a7a165)
merge-requests/220/head
Alex Pott 2021-01-04 14:24:09 +00:00
parent 234d024a9f
commit 302effacb2
No known key found for this signature in database
GPG Key ID: 31905460D4A69276
1 changed files with 1 additions and 1 deletions

View File

@ -263,7 +263,7 @@ for FILE in $FILES; do
cd "$TOP_LEVEL/core"
# Check the coding standards.
if [[ -f ".eslintrc.passing.json" ]]; then
node ./node_modules/eslint/bin/eslint.js --quiet --config=.eslintrc.passing.json "$TOP_LEVEL/$FILE" | indent
node ./node_modules/eslint/bin/eslint.js --quiet --config=.eslintrc.passing.json "$TOP_LEVEL/$FILE"
CORRECTJS=$?
if [ "$CORRECTJS" -ne "0" ]; then
# No need to write any output the node command will do this for us.