github-actions[bot] commented on PR #20716:
URL: https://github.com/apache/doris/pull/20716#issuecomment-1628428831
#### `sh-checker report`
To get the full details, please check in the
[job]("https://github.com/apache/doris/actions/runs/5505508845") output.
<details>
<summary>shellcheck errors</summary>
```
'shellcheck ' returned error 1 finding the following syntactical issues:
----------
In minidump/nereids_ut.sh line 172:
${JAVA}" ${final_java_opt} -Xmx2g
org.apache.doris.nereids.minidump.Minidump "${dir}"
${OPT_VERSION:+${OPT_VERSION}} "$@" > "${temp_file}
^-----^ SC2086 (info): Double quote to prevent globbing and word
splitting.
^----^ SC2027 (warning): The surrounding quotes actually unquote this.
Remove or escape them.
^----^ SC2086 (info): Double quote to prevent globbing and word
splitting.
^-- SC2068 (error): Double
quote array expansions to avoid re-splitting elements.
^-- SC2145 (error): Argument
mixes string and array. Use * or separate argument.
^-- SC2027 (warning): The
surrounding quotes actually unquote this. Remove or escape them.
^----------^ SC2086
(info): Double quote to prevent globbing and word splitting.
Did you mean:
"${JAVA}"" ${final_java_opt} -Xmx2g
org.apache.doris.nereids.minidump.Minidump ""${dir}""
${OPT_VERSION:+${OPT_VERSION}} "$@" > ""${temp_file}"
For more information:
https://www.shellcheck.net/wiki/SC2068 -- Double quote array expansions to
...
https://www.shellcheck.net/wiki/SC2145 -- Argument mixes string and array.
...
https://www.shellcheck.net/wiki/SC2027 -- The surrounding quotes actually
u...
----------
You can address the above issues in one of three ways:
1. Manually correct the issue in the offending shell script;
2. Disable specific issues by adding the comment:
# shellcheck disable=NNNN
above the line that contains the issue, where NNNN is the error code;
3. Add '-e NNNN' to the SHELLCHECK_OPTS setting in your .yml action file.
```
</details>
<details>
<summary>shfmt errors</summary>
```
'shfmt ' found no issues.
```
</details>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]