Skip to content

Commit 600c31e

Browse files
Peter BengtssonsarahsSarah Edwardsindigokhpsin
authored
Unbreak the orphaned-assets-check.yml workflow (github#36036)
Co-authored-by: Sarah Schneider <sarahs@users.noreply.github.com> Co-authored-by: Sarah Edwards <skedwards88@github.com> Co-authored-by: Indigo <indigok@github.com> Co-authored-by: Hirsch Singhal <1666363+hpsin@users.noreply.github.com> Co-authored-by: Jess Hosman <1183847+jhosman@users.noreply.github.com> Co-authored-by: docubot <67483024+docubot@users.noreply.github.com> Co-authored-by: Laura Coursen <lecoursen@github.com> Co-authored-by: Rachael Sewell <rachmari@github.com> Co-authored-by: Mariam <15mariams@github.com> Co-authored-by: Grey Baker <greysteil@gmail.com> Co-authored-by: mchammer01 <42146119+mchammer01@users.noreply.github.com> Co-authored-by: Sophie <29382425+sophietheking@users.noreply.github.com> Co-authored-by: Jules <19994093+jules-p@users.noreply.github.com>
1 parent 05b21c0 commit 600c31e

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

script/find-orphaned-assets.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -139,11 +139,7 @@ async function main(opts) {
139139
for (const imagePath of [...allImages].sort((a, b) => a.localeCompare(b))) {
140140
// It's important to escape spaces if we're ever going to pipe this
141141
// to xargs.
142-
if (imagePath.includes(' ')) {
143-
console.log(`"${imagePath}"`)
144-
} else {
145-
console.log(imagePath)
146-
}
142+
console.log(`"${imagePath}"`)
147143
}
148144
}
149145

0 commit comments

Comments
 (0)