diff options
Diffstat (limited to 'tools/format.js')
-rwxr-xr-x | tools/format.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/format.js b/tools/format.js index 9786e6fe3..1d891f361 100755 --- a/tools/format.js +++ b/tools/format.js @@ -3,10 +3,11 @@ import { getPrebuiltToolPath, getSources, join, ROOT_PATH } from "./util.js"; async function dprint() { + const configFile = join(ROOT_PATH, ".dprintrc.json"); const execPath = getPrebuiltToolPath("dprint"); console.log("dprint"); const p = Deno.run({ - cmd: [execPath, "fmt"], + cmd: [execPath, "fmt", "--config=" + configFile], }); const { success } = await p.status(); if (!success) { |