Merge pull request #263 from github/fixPowershell

fixed ansible and powershell
This commit is contained in:
Lukas Gravley 2020-06-24 08:22:48 -05:00 committed by GitHub
commit 1527c43b68
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1822,7 +1822,7 @@ LintCodebase()
# Lint the file with the rules #
################################
# Need to append "'" to make the pwsh call syntax correct, also exit with exit code from inner subshell
LINT_CMD=$(cd "$GITHUB_WORKSPACE/$TEST_CASE_FOLDER" || exit; $LINTER_COMMAND "$FILE"; exit $? 2>&1)
LINT_CMD=$(cd "$GITHUB_WORKSPACE" || exit; $LINTER_COMMAND "$FILE"; exit $? 2>&1)
else
################################
# Lint the file with the rules #