1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 23:34:47 -05:00
denoland-deno/tests/specs/run/patch/modify_version.ts

3 lines
165 B
TypeScript

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