mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-22 08:41:02 -05:00
its real picky
This commit is contained in:
parent
a32d0c1314
commit
958f70fe67
1 changed files with 4 additions and 6 deletions
|
@ -233,10 +233,9 @@ function LintCodebase() {
|
||||||
# Corner case for C# as it writes to tty and not stdout #
|
# Corner case for C# as it writes to tty and not stdout #
|
||||||
#########################################################
|
#########################################################
|
||||||
elif [[ ${FILE_TYPE} == "CSHARP" ]]; then
|
elif [[ ${FILE_TYPE} == "CSHARP" ]]; then
|
||||||
info "got into the csharp loop"
|
|
||||||
LINT_CMD=$(
|
LINT_CMD=$(
|
||||||
cd "${GITHUB_WORKSPACE}" || exit
|
cd "${DIR_NAME}" || exit
|
||||||
${LINTER_COMMAND} "${FILE}" | tee /dev/tty2 2>&1; exit "${PIPESTATUS[0]}"
|
${LINTER_COMMAND} "${FILE_NAME}" | tee /dev/tty2 2>&1; exit "${PIPESTATUS[0]}"
|
||||||
)
|
)
|
||||||
else
|
else
|
||||||
################################
|
################################
|
||||||
|
@ -481,10 +480,9 @@ function TestCodebase() {
|
||||||
# Corner case for C# as it writes to tty and not stdout #
|
# Corner case for C# as it writes to tty and not stdout #
|
||||||
#########################################################
|
#########################################################
|
||||||
elif [[ ${FILE_TYPE} == "CSHARP" ]]; then
|
elif [[ ${FILE_TYPE} == "CSHARP" ]]; then
|
||||||
info "got into the csharp loop"
|
|
||||||
LINT_CMD=$(
|
LINT_CMD=$(
|
||||||
cd "${GITHUB_WORKSPACE}" || exit
|
cd "${DIR_NAME}" || exit
|
||||||
${LINTER_COMMAND} "${FILE}" | tee /dev/tty2 2>&1; exit "${PIPESTATUS[0]}"
|
${LINTER_COMMAND} "${FILE_NAME}" | tee /dev/tty2 2>&1; exit "${PIPESTATUS[0]}"
|
||||||
)
|
)
|
||||||
else
|
else
|
||||||
################################
|
################################
|
||||||
|
|
Loading…
Reference in a new issue