1
0
mirror of synced 2025-12-30 12:02:01 -05:00

orphaned asset workflow bugfix (#41177)

This commit is contained in:
Rachael Sewell
2023-08-22 05:59:27 -07:00
committed by GitHub
parent e65baefd5d
commit 7b4bde484d

View File

@@ -41,7 +41,10 @@ jobs:
run: |
set -e
./script/find-orphaned-assets.js | xargs git rm
filesToRemove=`./script/find-orphaned-assets.js`
[ -z "$filesToRemove" ] && exit 0
${filesToRemove} | xargs git rm
git status