github-actions[bot] commented on PR #24210:
URL: https://github.com/apache/doris/pull/24210#issuecomment-1714865717

   #### `sh-checker report`
   
   To get the full details, please check in the 
[job]("https://github.com/apache/doris/actions/runs/6154118765";) output.
   
   <details>
   <summary>shellcheck errors</summary>
   
   ```
   
   'shellcheck ' returned error 1 finding the following syntactical issues:
   
   ----------
   
   In build.sh line 547:
       NPM='npm'
       ^-------^ SC2317 (info): Command appears to be unreachable. Check usage 
(or ignore if invoked indirectly).
   
   
   In build.sh line 548:
       if ! ${NPM} --version; then
       ^-- SC2317 (info): Command appears to be unreachable. Check usage (or 
ignore if invoked indirectly).
            ^--------------^ SC2317 (info): Command appears to be unreachable. 
Check usage (or ignore if invoked indirectly).
   
   
   In build.sh line 549:
           echo "Error: npm is not found"
           ^----------------------------^ SC2317 (info): Command appears to be 
unreachable. Check usage (or ignore if invoked indirectly).
   
   
   In build.sh line 550:
           exit 1
           ^----^ SC2317 (info): Command appears to be unreachable. Check usage 
(or ignore if invoked indirectly).
   
   
   In build.sh line 552:
       if [[ -n "${CUSTOM_NPM_REGISTRY}" ]]; then
       ^-- SC2317 (info): Command appears to be unreachable. Check usage (or 
ignore if invoked indirectly).
          ^-- SC2317 (info): Command appears to be unreachable. Check usage (or 
ignore if invoked indirectly).
   
   
   In build.sh line 553:
           "${NPM}" config set registry "${CUSTOM_NPM_REGISTRY}"
           ^-- SC2317 (info): Command appears to be unreachable. Check usage 
(or ignore if invoked indirectly).
   
   
   In build.sh line 554:
           npm_reg="$("${NPM}" get registry)"
           ^-- SC2317 (info): Command appears to be unreachable. Check usage 
(or ignore if invoked indirectly).
                      ^-------------------^ SC2317 (info): Command appears to 
be unreachable. Check usage (or ignore if invoked indirectly).
   
   
   In build.sh line 555:
           echo "NPM registry: ${npm_reg}"
           ^-----------------------------^ SC2317 (info): Command appears to be 
unreachable. Check usage (or ignore if invoked indirectly).
   
   
   In build.sh line 558:
       echo "Build Frontend UI"
       ^----------------------^ SC2317 (info): Command appears to be 
unreachable. Check usage (or ignore if invoked indirectly).
   
   
   In build.sh line 559:
       ui_dist="${DORIS_HOME}/ui/dist"
       ^-----------------------------^ SC2317 (info): Command appears to be 
unreachable. Check usage (or ignore if invoked indirectly).
   
   
   In build.sh line 560:
       if [[ -n "${CUSTOM_UI_DIST}" ]]; then
       ^-- SC2317 (info): Command appears to be unreachable. Check usage (or 
ignore if invoked indirectly).
          ^--------------------------^ SC2317 (info): Command appears to be 
unreachable. Check usage (or ignore if invoked indirectly).
   
   
   In build.sh line 561:
           ui_dist="${CUSTOM_UI_DIST}"
           ^-------------------------^ SC2317 (info): Command appears to be 
unreachable. Check usage (or ignore if invoked indirectly).
   
   
   In build.sh line 563:
           cd "${DORIS_HOME}/ui"
           ^-------------------^ SC2317 (info): Command appears to be 
unreachable. Check usage (or ignore if invoked indirectly).
   
   
   In build.sh line 564:
           "${NPM}" cache clean --force
           ^--------------------------^ SC2317 (info): Command appears to be 
unreachable. Check usage (or ignore if invoked indirectly).
   
   
   In build.sh line 565:
           "${NPM}" install --legacy-peer-deps
           ^-- SC2317 (info): Command appears to be unreachable. Check usage 
(or ignore if invoked indirectly).
   
   
   In build.sh line 566:
           "${NPM}" run build
           ^----------------^ SC2317 (info): Command appears to be unreachable. 
Check usage (or ignore if invoked indirectly).
   
   
   In build.sh line 568:
       echo "ui dist: ${ui_dist}"
       ^------------------------^ SC2317 (info): Command appears to be 
unreachable. Check usage (or ignore if invoked indirectly).
   
   
   In build.sh line 569:
       rm -rf "${DORIS_HOME}/fe/fe-core/src/main/resources/static"
       ^-- SC2317 (info): Command appears to be unreachable. Check usage (or 
ignore if invoked indirectly).
   
   
   In build.sh line 570:
       mkdir -p "${DORIS_HOME}/fe/fe-core/src/main/resources/static"
       ^-- SC2317 (info): Command appears to be unreachable. Check usage (or 
ignore if invoked indirectly).
   
   
   In build.sh line 571:
       cp -r "${ui_dist}"/* 
"${DORIS_HOME}/fe/fe-core/src/main/resources/static"/
       ^-- SC2317 (info): Command appears to be unreachable. Check usage (or 
ignore if invoked indirectly).
   
   For more information:
     https://www.shellcheck.net/wiki/SC2317 -- Command appears to be 
unreachable...
   ----------
   
   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]

Reply via email to