1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-27 17:49:08 -05:00
denoland-deno/tests/specs/run/patch/modify_version.ts

4 lines
165 B
TypeScript
Raw Normal View History

const data = JSON.parse(Deno.readTextFileSync("./add/deno.json"));
data.version = "2.0.0";
Deno.writeTextFileSync("./add/deno.json", JSON.stringify(data, null, 2));