Update install.sh #136
reviewdog.yml
on: pull_request
Shellcheck testing
10s
Check spelling
20s
Annotations
3 errors and 4 warnings
Shellcheck testing:
update.sh#L13
[shellcheck (suggestion)] reported by reviewdog 🐶
Raw Output:
update.sh:13:-if [ $RDLATEST == $RDCURRENT ]; then
update.sh:13:+if [ "$RDLATEST" == "$RDCURRENT" ]; then
|
Shellcheck testing:
update.sh#L35
[shellcheck (suggestion)] reported by reviewdog 🐶
Raw Output:
update.sh:35:- UPSTREAM_ID="$(echo ${ID_LIKE,,} | sed s/\"//g | cut -d' ' -f1)"
update.sh:35:+ UPSTREAM_ID="$(echo "${ID_LIKE,,}" | sed s/\"//g | cut -d' ' -f1)"
|
Shellcheck testing:
update.sh#L87
[shellcheck (suggestion)] reported by reviewdog 🐶
Raw Output:
update.sh:87:-wget https://github.com/rustdesk/rustdesk-server-pro/releases/download/${RDLATEST}/rustdesk-server-linux-amd64.tar.gz
update.sh:87:+wget https://github.com/rustdesk/rustdesk-server-pro/releases/download/"${RDLATEST}"/rustdesk-server-linux-amd64.tar.gz
|
Shellcheck testing:
install.sh#L151
[shellcheck] reported by reviewdog 🐶
Use 'cd ... || exit' or 'cd ... || return' in case cd fails. [SC2164](https://github.com/koalaman/shellcheck/wiki/SC2164)
Raw Output:
./install.sh:151:13:warning:Use 'cd ... || exit' or 'cd ... || return' in case cd fails. [SC2164](https://github.com/koalaman/shellcheck/wiki/SC2164)
|
Shellcheck testing:
update.sh#L13
[shellcheck] reported by reviewdog 🐶
Double quote to prevent globbing and word splitting. [SC2086](https://github.com/koalaman/shellcheck/wiki/SC2086)
Raw Output:
./update.sh:13:6:info:Double quote to prevent globbing and word splitting. [SC2086](https://github.com/koalaman/shellcheck/wiki/SC2086)
|
Shellcheck testing:
update.sh#L13
[shellcheck] reported by reviewdog 🐶
Double quote to prevent globbing and word splitting. [SC2086](https://github.com/koalaman/shellcheck/wiki/SC2086)
Raw Output:
./update.sh:13:19:info:Double quote to prevent globbing and word splitting. [SC2086](https://github.com/koalaman/shellcheck/wiki/SC2086)
|
Shellcheck testing:
update.sh#L87
[shellcheck] reported by reviewdog 🐶
Double quote to prevent globbing and word splitting. [SC2086](https://github.com/koalaman/shellcheck/wiki/SC2086)
Raw Output:
./update.sh:87:72:info:Double quote to prevent globbing and word splitting. [SC2086](https://github.com/koalaman/shellcheck/wiki/SC2086)
|