From 7ab8090b30bd61e3e559b3a35fbb793d9bd29ddb Mon Sep 17 00:00:00 2001 From: Lucas Gravley <29484535+admiralAwkbar@users.noreply.github.com> Date: Thu, 7 Nov 2019 08:23:17 -0600 Subject: [PATCH] Adding it up --- TEMPLATES/.eslintrc.yml | 2 +- lib/linter.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/TEMPLATES/.eslintrc.yml b/TEMPLATES/.eslintrc.yml index 90d06ebc..cab2ef38 100644 --- a/TEMPLATES/.eslintrc.yml +++ b/TEMPLATES/.eslintrc.yml @@ -1,5 +1,5 @@ --- - + ############################# ############################# ## JavaScript Linter rules ## diff --git a/lib/linter.sh b/lib/linter.sh index 5e0fa3de..92134c9f 100755 --- a/lib/linter.sh +++ b/lib/linter.sh @@ -1493,7 +1493,7 @@ Eslint() ################################ # Lint the file with the rules # ################################ - LINT_CMD=$(eslint -c "$JAVASCRIPT_LINTER_RULES" "$FILE" 2>&1) + LINT_CMD=$(cd "$GITHUB_WORKSPACE" | exit; eslint -c "$JAVASCRIPT_LINTER_RULES" "$FILE" 2>&1) ####################### # Load the error code #