aboutsummaryrefslogtreecommitdiff
path: root/deno/tools
diff options
context:
space:
mode:
authorYuqian Yang <crupest@crupest.life>2025-06-14 03:07:02 +0800
committerYuqian Yang <crupest@crupest.life>2025-06-14 15:20:16 +0800
commit096f6ca0fa344363b4c76b7418a5743f9536034c (patch)
tree722a3e6152b8aa2940268555edb1fe842941d097 /deno/tools
parent0e4a5e2a74b3077b1108502c8d263cb85ae02ed0 (diff)
downloadcrupest-096f6ca0fa344363b4c76b7418a5743f9536034c.tar.gz
crupest-096f6ca0fa344363b4c76b7418a5743f9536034c.tar.bz2
crupest-096f6ca0fa344363b4c76b7418a5743f9536034c.zip
deno & nvim: turn back to use deno fmt instead of prettier.
Diffstat (limited to 'deno/tools')
-rw-r--r--deno/tools/deno.json2
-rw-r--r--deno/tools/template.ts4
2 files changed, 4 insertions, 2 deletions
diff --git a/deno/tools/deno.json b/deno/tools/deno.json
index 1b2cf32..355046a 100644
--- a/deno/tools/deno.json
+++ b/deno/tools/deno.json
@@ -3,6 +3,6 @@
"tasks": {
},
"imports": {
- "mustache": "npm:mustache@^4.2.0",
+ "mustache": "npm:mustache@^4.2.0"
}
}
diff --git a/deno/tools/template.ts b/deno/tools/template.ts
index 0b043a1..1b67eb8 100644
--- a/deno/tools/template.ts
+++ b/deno/tools/template.ts
@@ -73,7 +73,9 @@ export class TemplateDir {
generate(vars: Record<string, string>, generatedDir?: string) {
console.log(
- `Generating, template dir: ${this.dir}, generated dir: ${generatedDir ?? "[dry-run]"}:`,
+ `Generating, template dir: ${this.dir}, generated dir: ${
+ generatedDir ?? "[dry-run]"
+ }:`,
);
const undefinedVars = this.allNeededVars().filter((v) => !(v in vars));