ethers.js/misc/admin/src.ts/cmds/update-changelog.ts

11 lines
285 B
TypeScript
Raw Permalink Normal View History

2020-09-26 03:25:54 -04:00
import fs from "fs";
import { generate } from "../changelog";
import { colorify } from "../log";
import { resolve } from "../path";
(async function() {
console.log(colorify.bold("Updating CHANGELOG.md..."));
fs.writeFileSync(resolve("CHANGELOG.md"), await generate());
})();