Signed-off-by: Andrey Platov <andrey@hardcoreeng.com>
This commit is contained in:
Andrey Platov 2021-09-11 10:01:30 +02:00
parent a7fe4eaae8
commit d20a223bb7
No known key found for this signature in database
GPG Key ID: C8787EFEB4B64AF0

View File

@ -24,9 +24,7 @@ roots=$(node $sourceDir/install-run-rush.js list -f --json | grep "fullPath" | c
for i in $roots
do
pushd ${i}
echo ${runScript}
node ${runScript} -h
checkScript=$(node ${runScript} -h | grep $1: | wc -l)
checkScript=$(cat package.json | grep \"$1\": | wc -l)
if [ $checkScript -gt 0 ]; then
node ${runScript} $@
retVal=$?