svelte-check

Signed-off-by: Andrey Platov <andrey@hardcoreeng.com>
This commit is contained in:
Andrey Platov
2021-09-11 09:33:02 +02:00
parent d422f6b4fd
commit c0b9c1d2f0
2 changed files with 10 additions and 9 deletions
+7 -7
View File
@@ -24,13 +24,13 @@ roots=$(node $sourceDir/install-run-rush.js list -f --json | grep "fullPath" | c
for i in $roots
do
pushd ${i}
node ${runScript} $@
retVal=$?
if [ $retVal -ne 0 ]; then
echo "Error"
exit $retVal
if [ $(node ${runscript} | grep $1: | wc -l) > 0 ]; then
node ${runScript} $@
retVal=$?
if [ $retVal -ne 0 ]; then
echo "Error"
exit $retVal
fi
fi
popd
done