From 302effacb28b27e357c00f0dded6fb415715b68f Mon Sep 17 00:00:00 2001 From: Alex Pott Date: Mon, 4 Jan 2021 14:24:09 +0000 Subject: [PATCH] Issue #3189547 by lauriii, bnjmnm: Custom Commands indent: command not found on patches with nightwatch changes (cherry picked from commit 5fd7a7a165d26141b958a06c9e6df998860ec042) --- core/scripts/dev/commit-code-check.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/scripts/dev/commit-code-check.sh b/core/scripts/dev/commit-code-check.sh index c715f4de411..3ad565b1327 100755 --- a/core/scripts/dev/commit-code-check.sh +++ b/core/scripts/dev/commit-code-check.sh @@ -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.