From d20a223bb70b51be598261b58de32564f19759a0 Mon Sep 17 00:00:00 2001 From: Andrey Platov Date: Sat, 11 Sep 2021 10:01:30 +0200 Subject: [PATCH] fix Signed-off-by: Andrey Platov --- common/scripts/each.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/common/scripts/each.sh b/common/scripts/each.sh index 75aeba33b8..3738705651 100755 --- a/common/scripts/each.sh +++ b/common/scripts/each.sh @@ -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=$?