Skip to content

Commit

Permalink
attempt Fix touchup.js [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
mayank1513 committed Jun 13, 2024
1 parent 0452c61 commit 22ab628
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/nextjs-themes/touchup.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@

const fs = require("node:fs");
const path = require("node:path");
const { Octokit } = require("octokit");

const packageJson = require(path.resolve(process.cwd(), "package.json"));
if (process.env.TOKEN) {
const { Octokit } = import("octokit");
// Octokit.js
// https://github.com/octokit/core.js#readme
const octokit = new Octokit({
auth: process.env.TOKEN,
Expand Down

0 comments on commit 22ab628

Please sign in to comment.