its real picky

This commit is contained in:
Lucas Gravley 2020-08-31 10:11:12 -05:00
parent a32d0c1314
commit 958f70fe67

View file

@ -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
################################ ################################