Skip to content

Commit

Permalink
replace require with import to prepare dependency update
Browse files Browse the repository at this point in the history
  • Loading branch information
jaedle committed Sep 24, 2024
1 parent 7a83797 commit 798c282
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/index.js
Original file line number Diff line number Diff line change
@@ -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({
Expand Down

0 comments on commit 798c282

Please sign in to comment.