replace require with import to prepare dependency update

main
Dennis Wielepsky 2024-09-24 15:28:30 +02:00
parent 7a83797d06
commit 798c282fd8
1 changed files with 3 additions and 4 deletions

View File

@ -1,7 +1,6 @@
const {Octokit} = require('@octokit/rest');
const request = require('superagent');
const {default: PQueue} = require('p-queue');
import {Octokit} from "@octokit/rest";
import * as request from 'superagent'
import PQueue from "p-queue";
async function getGithubRepositories(username, token, mirrorPrivateRepositories, mirrorForks) {
const octokit = new Octokit({