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

   #### `sh-checker report`
   
   To get the full details, please check in the 
[job]("https://github.com/apache/doris/actions/runs/9387205875";) output.
   
   <details>
   <summary>shellcheck errors</summary>
   
   ```
   'shellcheck ' found no issues.
   
   ```
   </details>
   
   <details>
   <summary>shfmt errors</summary>
   
   ```
   
   'shfmt ' returned error 1 finding the following formatting issues:
   
   ----------
   --- bin/start_be.sh.orig
   +++ bin/start_be.sh
   @@ -111,11 +111,11 @@
        local IFS=$'\n'
    
        if ! command -v "${java_cmd}" >/dev/null; then
   -        echo "ERROR: invalid java_cmd ${java_cmd}" >> "${STDOUT_LOGGER}"
   +        echo "ERROR: invalid java_cmd ${java_cmd}" >>"${STDOUT_LOGGER}"
            result=no_java
            return 1
        else
   -        echo "INFO: java_cmd ${java_cmd}" >> "${STDOUT_LOGGER}"
   +        echo "INFO: java_cmd ${java_cmd}" >>"${STDOUT_LOGGER}"
            local version
            # remove \r for Cygwin
            version="$("${java_cmd}" -Xms32M -Xmx32M -version 2>&1 | tr '\r' 
'\n' | grep version | awk '{print $3}')"
   @@ -125,7 +125,7 @@
            else
                result="$(echo "${version}" | awk -F '.' '{print $1}')"
            fi
   -        echo "INFO: jdk_version ${result}" >> "${STDOUT_LOGGER}"
   +        echo "INFO: jdk_version ${result}" >>"${STDOUT_LOGGER}"
        fi
        echo "${result}"
        return 0
   @@ -263,7 +263,7 @@
        log "The JAVA_HOME environment variable is not set correctly"
        log "This environment variable is required to run this program"
        log "Note: JAVA_HOME should point to a JDK and not a JRE"
   -    log  "You can set JAVA_HOME in the be.conf configuration file"
   +    log "You can set JAVA_HOME in the be.conf configuration file"
        exit 1
    fi
    
   ----------
   
   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: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to