Skip to content

Commit

Permalink
chore(docs-util): fix freshness check script (#5518)
Browse files Browse the repository at this point in the history
  • Loading branch information
shahednasser authored Nov 1, 2023
1 parent 6060b88 commit 4692f54
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs-util/packages/scripts/freshness-check.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { LinearClient } from "@linear/sdk"
import { Octokit } from "@octokit/core"
import fs from "fs"
import path from "path"
import { fileURLToPath } from "url"

const octokit = new Octokit({
auth: process.env.GH_TOKEN,
Expand All @@ -13,6 +14,9 @@ const linearClient = new LinearClient({
apiKey: process.env.LINEAR_API_KEY,
})

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

const repoPath = path.join(
__dirname,
"..",
Expand Down

0 comments on commit 4692f54

Please sign in to comment.