summaryrefslogtreecommitdiffstatshomepage
path: root/core/scripts/dev/commit-code-check.sh
diff options
context:
space:
mode:
authorAlex Pott <alex.a.pott@googlemail.com>2021-01-04 14:24:09 +0000
committerAlex Pott <alex.a.pott@googlemail.com>2021-01-04 14:24:09 +0000
commit5fd7a7a165d26141b958a06c9e6df998860ec042 (patch)
tree5732630fff32f74bfca3e466f641a018aa2226f2 /core/scripts/dev/commit-code-check.sh
parentcda287d21288f475ed205e209a00e014ddf9d0a1 (diff)
downloaddrupal-5fd7a7a165d26141b958a06c9e6df998860ec042.tar.gz
drupal-5fd7a7a165d26141b958a06c9e6df998860ec042.zip
Issue #3189547 by lauriii, bnjmnm: Custom Commands indent: command not found on patches with nightwatch changes
Diffstat (limited to 'core/scripts/dev/commit-code-check.sh')
-rwxr-xr-xcore/scripts/dev/commit-code-check.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/scripts/dev/commit-code-check.sh b/core/scripts/dev/commit-code-check.sh
index fb7d7bb7f1a6..7252c9364bd3 100755
--- a/core/scripts/dev/commit-code-check.sh
+++ b/core/scripts/dev/commit-code-check.sh
@@ -276,7 +276,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.