From 20b35eb2aee2a2548babf93f1c687d5ba2b27958 Mon Sep 17 00:00:00 2001 From: Andrey Platov Date: Sat, 11 Sep 2021 09:51:07 +0200 Subject: [PATCH] check script fixed 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 8aea9058ef..0d09a9c6c5 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} - node ${runscript} -h - checkScript=$(node ${runscript} | grep $1: | wc -l) - echo "Check script ${i} ${checkScript}..." + checkScript=$(node ${runScript} | grep $1: | wc -l) if [ $checkScript -gt 0 ]; then node ${runScript} $@ retVal=$?