1
0
mirror of synced 2026-01-07 09:01:31 -05:00

Orphaned assets check failed when there are none (#47652)

This commit is contained in:
Peter Bengtsson
2023-12-11 16:18:24 -05:00
committed by GitHub
parent 032316c349
commit 1cbed3b669

View File

@@ -41,7 +41,9 @@ jobs:
run: |
set -e
filesToRemove=`npm run find-orphaned-assets`
# The `-s` is to make npm run silent and not print verbose
# information about the npm script alias.
filesToRemove=`npm run -s find-orphaned-assets`
[ -z "$filesToRemove" ] && exit 0
echo $filesToRemove | xargs git rm