mirror of
https://github.com/grafana/grafana.git
synced 2025-01-24 15:27:01 -06:00
Chore: fix shellchecks (#83421)
This commit is contained in:
parent
b3363543ea
commit
e295c38a6e
@ -17,7 +17,15 @@ while IFS=" " read -r -a package; do
|
|||||||
CURRENT="./pr/$PACKAGE_PATH"
|
CURRENT="./pr/$PACKAGE_PATH"
|
||||||
|
|
||||||
# Temporarily skipping these packages as they don't have any exposed static typing
|
# Temporarily skipping these packages as they don't have any exposed static typing
|
||||||
if [[ ${SKIP_PACKAGES[@]} =~ "$PACKAGE_PATH" ]]; then
|
SKIP_PACKAGE_FOUND=0
|
||||||
|
for skip_pkg in "${SKIP_PACKAGES[@]}"; do
|
||||||
|
if [[ "$PACKAGE_PATH" == "$skip_pkg" ]]; then
|
||||||
|
SKIP_PACKAGE_FOUND=1
|
||||||
|
break
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
if [[ $SKIP_PACKAGE_FOUND -eq 1 ]]; then
|
||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@ CLASSNAME_PROP="$(grep -r -o -E --include="*.ts*" "\.*.className=\W.*\W.*" publi
|
|||||||
EMOTION_IMPORTS="$(grep -r -o -E --include="*.ts*" --exclude="*.test*" "\{.*css.*\} from '@emotion/css'" public/app | wc -l)"
|
EMOTION_IMPORTS="$(grep -r -o -E --include="*.ts*" --exclude="*.test*" "\{.*css.*\} from '@emotion/css'" public/app | wc -l)"
|
||||||
TS_FILES="$(find public/app -type f -name "*.ts*" -not -name "*.test*" | wc -l)"
|
TS_FILES="$(find public/app -type f -name "*.ts*" -not -name "*.test*" | wc -l)"
|
||||||
|
|
||||||
TOTAL_BUNDLE="$(du -sk $BUILD_FOLDER | cut -f1)"
|
TOTAL_BUNDLE="$(du -sk "$BUILD_FOLDER" | cut -f1)"
|
||||||
OUTDATED_DEPENDENCIES="$(yarn outdated --all | grep -oP '[[:digit:]]+ *(?= dependencies are out of date)')"
|
OUTDATED_DEPENDENCIES="$(yarn outdated --all | grep -oP '[[:digit:]]+ *(?= dependencies are out of date)')"
|
||||||
## Disabled due to yarn PnP update breaking npm audit
|
## Disabled due to yarn PnP update breaking npm audit
|
||||||
#VULNERABILITY_AUDIT="$(yarn npm audit --all --recursive --json)"
|
#VULNERABILITY_AUDIT="$(yarn npm audit --all --recursive --json)"
|
||||||
|
Loading…
Reference in New Issue
Block a user