github-actions[bot] commented on PR #25133:
URL: https://github.com/apache/doris/pull/25133#issuecomment-1752006189
#### `sh-checker report`
To get the full details, please check in the
[job]("https://github.com/apache/doris/actions/runs/6447376007") output.
<details>
<summary>shellcheck errors</summary>
```
'shellcheck ' returned error 1 finding the following syntactical issues:
----------
In run-be-ut.sh line 38:
adsasdasda `asdasdasdasd` asdasd \\\\'''''
^------------^ SC2046 (warning): Quote this to prevent word
splitting.
^------------^ SC2006 (style): Use $(...) notation instead of
legacy backticks `...`.
^-- SC2016 (info): Expressions
don't expand in single quotes, use double quotes for that.
Did you mean:
adsasdasda $(asdasdasdasd) asdasd \\\\'''''
In run-be-ut.sh line 64:
$0 --run --filter=*Null*:*Constructor* runs any
test whose full name contains either 'Null' or 'Constructor'
^--^ SC2026 (info): This word is outside
of quotes. Did you intend to 'nest '"'single quotes'"' instead'?
^---------^ SC2026 (info): This
word is outside of quotes. Did you intend to 'nest '"'single quotes'"'
instead'?
^-- SC2016 (info):
Expressions don't expand in single quotes, use double quotes for that.
In run-be-ut.sh line 83:
BUILD_BENCHMARK_TOOL='OFF'
^-^ SC2026 (info): This word is outside of quotes. Did
you intend to 'nest '"'single quotes'"' instead'?
In run-be-ut.sh line 84:
DENABLE_CLANG_COVERAGE='OFF'
^-^ SC2026 (info): This word is outside of quotes.
Did you intend to 'nest '"'single quotes'"' instead'?
^-- SC2016 (info): Expressions don't expand in
single quotes, use double quotes for that.
In run-be-ut.sh line 98:
BUILD_BENCHMARK_TOOL='ON'
^-- SC2026 (info): This word is outside of
quotes. Did you intend to 'nest '"'single quotes'"' instead'?
In run-be-ut.sh line 102:
DENABLE_CLANG_COVERAGE='ON'
^-- SC2026 (info): This word is outside
of quotes. Did you intend to 'nest '"'single quotes'"' instead'?
^-- SC2016 (info): Expressions don't
expand in single quotes, use double quotes for that.
In run-be-ut.sh line 129:
CMAKE_BUILD_TYPE="$(echo "${CMAKE_BUILD_TYPE}" | awk '{ print(toupper($0))
}')"
^-- SC1083 (warning):
This { is literal. Check expression (missing ;/\n?) or quote it.
^-- SC1036
(error): '(' is invalid here. Did you forget to escape it?
^-- SC1088
(error): Parsing stopped here. Invalid use of parentheses?
For more information:
https://www.shellcheck.net/wiki/SC1083 -- This { is literal. Check
expressi...
https://www.shellcheck.net/wiki/SC2046 -- Quote this to prevent word
splitt...
https://www.shellcheck.net/wiki/SC2016 -- Expressions don't expand in
singl...
----------
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 ' returned error 1 finding the following formatting issues:
----------
run-be-ut.sh:129:62: a command can only contain words and redirects;
encountered (
----------
You can reformat the above files to meet shfmt's requirements by typing:
shfmt -w filename
```
</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]