5f39f20766
Change-Id: Idf94c8e0c92d34e840db549e9e704eb3373762ac
16 lines
343 B
Bash
Executable File
16 lines
343 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -ueo pipefail
|
|
set +x
|
|
|
|
exitcode=0
|
|
|
|
for component in "satellite" "storagenode" "multinode"
|
|
do
|
|
if grep -q "eslint-plugin-storj@github:storj/eslint-storj" "./web/$component/package-lock.json"; then
|
|
echo "$component/package-lock.json import for eslint-storj should not be changed."
|
|
exitcode=-1
|
|
fi
|
|
done
|
|
|
|
exit $exitcode |