Skip to content

Commit f94ba5e

Browse files
committed
fix(playground/scripts): 🐛 make extract_typeshed output formatted stubs.rs
1 parent 92532bb commit f94ba5e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

crates/playground_wasm/scripts/extract_typeshed.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,10 @@ out="$dir/../src/stubs.rs"
1111
while read -r s; do
1212
for d in stdlib stubs; do
1313
[[ -f "$ts/$d/$s" ]] && {
14-
echo " (\"typeshed/$d/$s\", include_str!(\"../../../third_party/typeshed/$d/$s\")),"
14+
echo " ("
15+
echo " \"typeshed/$d/$s\"",
16+
echo " include_str!(\"../../../third_party/typeshed/$d/$s\"),"
17+
echo " ),"
1518
((++n)); break
1619
}
1720
done

0 commit comments

Comments
 (0)