/
githubmirror
/
deno
Обзор
Документация
Войти
/
githubmirror
/
deno
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
tools/format.js
22 строки
575 B
Kenta Moriuchi
chore: Happy New Year 2026 (#31748)
08 янв 2026, 18:28
Не верифицирован
08 янв 2026, 18:28
8193cf9
Код
Авторство
О чём код?
#!/usr/bin/env -S deno run --allow-all --config=tests/config/deno.json // Copyright 2018-2026 the Deno authors. MIT license. import { join, ROOT_PATH } from "./util.js"; const subcommand = Deno.args.includes("--check") ? "check" : "fmt"; const configFile = join(ROOT_PATH, ".dprint.json"); const cmd = new Deno.Command("deno", { args: [ "run", "-A", "--no-config", "npm:dprint@0.47.2", subcommand, "--config=" + configFile, ], cwd: ROOT_PATH, stdout: "inherit", stderr: "inherit", }); const { code } = await cmd.output(); Deno.exit(code);