Merge pull request #29 from github/fixPath

adding path
This commit is contained in:
Lukas Gravley 2019-12-13 07:45:15 -06:00 committed by GitHub
commit 29ea5d4a6c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View file

@ -12,6 +12,7 @@
env:
browser: true
es6: true
jest: true
###############
# Global Vars #

View file

@ -1516,7 +1516,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 #
@ -1615,7 +1615,7 @@ StandardLint()
################################
echo " - Utilizing Env:[$ENV_STRING]"
# shellcheck disable=SC2086
STANDARD_LINT_CMD=$(standard $ENV_STRING "$FILE" 2>&1)
STANDARD_LINT_CMD=$(cd "$GITHUB_WORKSPACE" || exit; standard $ENV_STRING "$FILE" 2>&1)
#######################
# Load the error code #