Skip to content

Commit 1407e9c

Browse files
committed
Refactor check-updates.js to use ES module syntax for imports
1 parent 1a747e8 commit 1407e9c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/scripts/check-updates.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
const { Octokit } = require("@octokit/rest");
2-
const fs = require('fs');
3-
const path = require('path');
1+
import { Octokit } from "@octokit/rest";
2+
import fs from 'fs';
3+
import path from 'path';
44

55
const octokit = new Octokit({
66
auth: process.env.GITHUB_TOKEN,

0 commit comments

Comments
 (0)