Browse Source

Fixed vscode config

set_equality
Michaël Lemaire 1 year ago
parent
commit
f3a7f25012
  1. 4
      normalize.ts

4
normalize.ts

@ -71,8 +71,8 @@ async function updateVscodeConf() {
const path = ".vscode/settings.json";
const json_config = await readContent(path);
const config = JSON.parse(json_config || "{}");
if (!config["deno.enabled"]) {
config["deno.enabled"] = true;
if (!config["deno.enable"]) {
config["deno.enable"] = true;
await Deno.writeTextFile(path, JSON.stringify(config));
}
}

Loading…
Cancel
Save