mirror of
https://github.com/mlocati/docker-php-extension-installer
synced 2025-05-09 00:22:40 +00:00
Use shfmt to 3.3.1 when linting locally
This commit is contained in:
parent
db70442a4e
commit
60ea708429
2 changed files with 2 additions and 2 deletions
|
@ -11,7 +11,7 @@ echo '# Linting shell scripts'
|
|||
if ! docker --version >/dev/null 2>/dev/null; then
|
||||
echo 'Docker is not installed, or it is not running.' >&2
|
||||
rc=1
|
||||
elif ! docker run --rm -v "$SRC_DIR:/src" -w /src --entrypoint /src/scripts/invoke-shfmt mvdan/shfmt:v3.0.1 fix; then
|
||||
elif ! docker run --rm -v "$SRC_DIR:/src" -w /src --entrypoint /src/scripts/invoke-shfmt mvdan/shfmt:v3.3.1 fix; then
|
||||
echo 'ERROR!' >&2
|
||||
rc=1
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue