mirror of
https://github.com/denoland/deno.git
synced 2024-10-31 09:14:20 -04:00
14 lines
245 B
TypeScript
14 lines
245 B
TypeScript
|
#!/usr/bin/env deno --allow-run
|
||
|
|
||
|
import { exit, run } from "deno";
|
||
|
|
||
|
async function main() {
|
||
|
const prettier = run({
|
||
|
args: ["bash", "-c", "prettier --write *.ts **/*.ts"]
|
||
|
});
|
||
|
const s = await prettier.status();
|
||
|
exit(s.code);
|
||
|
}
|
||
|
|
||
|
main();
|