You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
235 B
16 lines
235 B
4 years ago
|
#!/usr/bin/env bash
|
||
|
|
||
|
set -e
|
||
|
set -u
|
||
|
set -o pipefail
|
||
|
|
||
|
yarn allow-scripts auto
|
||
|
|
||
|
if git diff-index --quiet HEAD
|
||
|
then
|
||
|
echo "allow-scripts configuration is up-to-date"
|
||
|
else
|
||
|
echo "allow-scripts configuration requires updates"
|
||
|
exit 1
|
||
|
fi
|