Bump github/super-linter from 3.15.5 to 4.0.2 (#6209)

* Bump github/super-linter from 3.15.5 to 4.0.2

Bumps [github/super-linter](https://github.com/github/super-linter) from 3.15.5 to 4.0.2.
- [Release notes](https://github.com/github/super-linter/releases)
- [Commits](https://github.com/github/super-linter/compare/v3.15.5...v4.0.2)

Signed-off-by: dependabot[bot] <support@github.com>

* install.sh line 96:
if [ x"$INSTALL_PYTHON_VERSION" = x ]; then
     ^------------------------^ SC2268: Avoid x-prefix in comparisons as 
it no longer serves a purpose.

Did you mean: 
if [ "$INSTALL_PYTHON_VERSION" = "" ]; then

For more information:
  https://www.shellcheck.net/wiki/SC2268

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Gene Hoffman <hoffmang@hoffmang.com>
This commit is contained in:
dependabot[bot] 2021-05-29 12:47:23 -07:00 committed by GitHub
parent 4f64bb9baa
commit 15f8724cae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -48,7 +48,7 @@ jobs:
# Run Linter against code base #
################################
- name: Lint Code Base
uses: github/super-linter@v3.15.5
uses: github/super-linter@v4.0.2
# uses: docker://github/super-linter:v3.10.2
env:
VALIDATE_ALL_CODEBASE: true

View File

@ -84,7 +84,7 @@ find_python() {
unset BEST_VERSION
for V in 37 3.7 38 3.8 39 3.9 3; do
if which python$V >/dev/null; then
if [ x"$BEST_VERSION" = x ]; then
if [ "$BEST_VERSION" = "" ]; then
BEST_VERSION=$V
fi
fi
@ -93,7 +93,7 @@ find_python() {
set -e
}
if [ x"$INSTALL_PYTHON_VERSION" = x ]; then
if [ "$INSTALL_PYTHON_VERSION" = "" ]; then
INSTALL_PYTHON_VERSION=$(find_python)
fi