mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2025-12-09 14:42:39 +01:00
update shellcheck
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
This commit is contained in:
@@ -5,7 +5,7 @@ set -o pipefail
|
||||
ERRORS=()
|
||||
|
||||
# find all executables and run `shellcheck`
|
||||
for f in $(find . -type f -not -iwholename '*.git*' | sort -u); do
|
||||
for f in $(find . -type f -not -iwholename '*.git*' -not -name "Dockerfile" | sort -u); do
|
||||
if file "$f" | grep --quiet shell; then
|
||||
{
|
||||
shellcheck "$f" && echo "[OK]: sucessfully linted $f"
|
||||
|
||||
Reference in New Issue
Block a user