Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
jamacku committed Jan 20, 2025
1 parent 364ae4b commit 5cdd3d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.sh
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,10 @@ if ! is_strict_check_on_push_demanded; then
file_rename_option=""
file_rename_option=$(get_csdiff_file_rename "${#changed_scripts_base[@]}" "${changed_scripts_base[@]}" "${changed_scripts_head[@]}")

get_fixes "${file_rename_option}" "${WORK_DIR}base-shellcheck.err" "${WORK_DIR}head-shellcheck.err"
get_fixes "${WORK_DIR}base-shellcheck.err" "${WORK_DIR}head-shellcheck.err" "${file_rename_option}"
evaluate_and_print_fixes

get_defects "${file_rename_option}" "${WORK_DIR}head-shellcheck.err" "${WORK_DIR}base-shellcheck.err"
get_defects "${WORK_DIR}head-shellcheck.err" "${WORK_DIR}base-shellcheck.err" "${file_rename_option}"
else
mv "${WORK_DIR}full-shellcheck.err" "${WORK_DIR}defects.log"
fi
Expand Down

0 comments on commit 5cdd3d1

Please sign in to comment.