build: quash octokit deprecation warning (#24790)
This commit is contained in:
parent
99874fd71f
commit
9274117e12
10 changed files with 124 additions and 131 deletions
|
@ -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));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue