mirror of
https://github.com/electron/electron.git
synced 2026-01-08 23:18:06 -05:00
build: quash octokit deprecation warning (#24790)
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
const args = require('minimist')(process.argv.slice(2));
|
||||
const octokit = require('@octokit/rest')();
|
||||
const { Octokit } = require('@octokit/rest');
|
||||
const octokit = new Octokit();
|
||||
const path = require('path');
|
||||
|
||||
const SOURCE_ROOT = path.normalize(path.dirname(__dirname));
|
||||
|
||||
Reference in New Issue
Block a user