mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
16 lines
206 B
Bash
16 lines
206 B
Bash
|
#!/usr/bin/env bash
|
||
|
|
||
|
set -e
|
||
|
set -u
|
||
|
set -o pipefail
|
||
|
|
||
|
yarn lavamoat:auto
|
||
|
|
||
|
if git diff-index --quiet HEAD
|
||
|
then
|
||
|
echo "LavaMoat policy is up-to-date"
|
||
|
else
|
||
|
echo "LavaMoat policy requires updates"
|
||
|
exit 1
|
||
|
fi
|