replace require with import to prepare dependency update
parent
7a83797d06
commit
798c282fd8
|
@ -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({
|
||||
|
|
Loading…
Reference in New Issue