Skip to content

Commit

Permalink
fix: remove sed -e 's|$| <--[shellcheck]|', we now use json1 format
Browse files Browse the repository at this point in the history
  • Loading branch information
jamacku committed Aug 23, 2023
1 parent 6b3b6e7 commit a94585f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -283,9 +283,8 @@ execute_shellcheck () {
"${@}"
)

# The sed part ensures that cstools will recognize the output as being produced by ShellCheck and not GCC.
local output
output=$(shellcheck "${shellcheck_args[@]}" 2> /dev/null | sed -e 's|$| <--[shellcheck]|')
output=$(shellcheck "${shellcheck_args[@]}" 2> /dev/null)

echo "${output}"
}
Expand Down

0 comments on commit a94585f

Please sign in to comment.