We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b6b3d06 commit 292a33fCopy full SHA for 292a33f
scripts/upgrade-examples.ts
@@ -1,5 +1,5 @@
1
import { $ } from "bun";
2
3
-for await (const dir of $`find examples -maxdepth 1 -type d`.lines()) {
4
- await $`cd ${dir} && bun update`;
+for await (const dir of $`find examples -maxdepth 1 -mindepth 1 -type d`.lines()) {
+ if (dir) await $`cd ${dir} && bun update`;
5
}
0 commit comments