Skip to content

Commit

Permalink
chore(docs-util): fix announcement script (#5503)
Browse files Browse the repository at this point in the history
  • Loading branch information
shahednasser authored Oct 31, 2023
1 parent 201b35c commit 9f29f18
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs-util/packages/scripts/doc-change-release.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import { Octokit } from "@octokit/core"
import fs from "fs"
import path from "path"
import { fileURLToPath } from "url"

const shouldExpire = process.argv.indexOf("--expire") !== -1
const octokit = new Octokit({
Expand Down Expand Up @@ -59,6 +60,9 @@ async function main() {
}
}

const __filename = fileURLToPath(import.meta.url)
const __dirname = path.dirname(__filename)

//write new config file
fs.writeFileSync(
path.join(
Expand Down

0 comments on commit 9f29f18

Please sign in to comment.