[
https://issues.apache.org/jira/browse/YETUS-1167?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17530852#comment-17530852
]
Allen Wittenauer commented on YETUS-1167:
-----------------------------------------
OK, tracked this one down.
The core problem is that head is being running on a file that is _not_ a text
file. So we should just send those errors to /dev/null since they don't really
matter.
> shellcheck null byte
> --------------------
>
> Key: YETUS-1167
> URL: https://issues.apache.org/jira/browse/YETUS-1167
> Project: Yetus
> Issue Type: Bug
> Components: Precommit
> Reporter: Allen Wittenauer
> Priority: Major
>
> Throwing this error:
> {code}
> /tmp/yetus-4926.31954/precommit/plugins.d/shellcheck.sh: line 123: warning:
> command substitution: ignored null byte in input
> {code}
> for
> {code}
> text=$(head -n 1 "${fn}")
> {code}
--
This message was sent by Atlassian Jira
(v8.20.7#820007)