mirror of
https://github.com/docker/cli.git
synced 2025-08-29 00:47:54 +03:00
Add scripts folder to shellcheck
Signed-off-by: Jean-Pierre Huynh <jean-pierre.huynh@ounet.fr>
This commit is contained in:
@@ -3,13 +3,13 @@
|
||||
set -eu
|
||||
|
||||
DIFF_PATH=$1
|
||||
DIFF=$(git status --porcelain -- $DIFF_PATH)
|
||||
DIFF=$(git status --porcelain -- "$DIFF_PATH")
|
||||
|
||||
if [ "$DIFF" ]; then
|
||||
echo
|
||||
echo "These files were changed:"
|
||||
echo
|
||||
echo $DIFF
|
||||
echo "$DIFF"
|
||||
echo
|
||||
exit 1
|
||||
else
|
||||
|
Reference in New Issue
Block a user