diff options
Diffstat (limited to 'script/format.ts')
| -rwxr-xr-x | script/format.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/script/format.ts b/script/format.ts index 996de9ad0..37ab2197d 100755 --- a/script/format.ts +++ b/script/format.ts @@ -2,4 +2,6 @@ import { $ } from "bun" -await $`bun run prettier --ignore-unknown --write .` +const dir = Bun.argv[2] ?? "." + +await $`bun run prettier --ignore-unknown --write ${dir}` |
