Skip to content

Commit

Permalink
fix release script
Browse files Browse the repository at this point in the history
  • Loading branch information
kaikalii committed Feb 25, 2024
1 parent 68c8313 commit db62bf9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/scripts/get-release-notes.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { readFileSync } from "fs";
let md = readFileSync("changelog.md", "utf-8")
const fs = require("fs")
let md = fs.readFileSync("changelog.md", "utf-8")
if (md.includes(`## ${process.argv[2]}`)) {
let notes = md
.replaceAll(process.argv[2], "\0VER\0")
Expand Down

0 comments on commit db62bf9

Please sign in to comment.