refactor: use node scheme imports in scripts (#38846)
* refactor: use node scheme imports in script * refactor: use node scheme imports in build
This commit is contained in:
parent
395b608dd5
commit
abec9ead06
40 changed files with 105 additions and 89 deletions
|
@ -1,9 +1,9 @@
|
|||
if (!process.env.CI) require('dotenv-safe').load();
|
||||
|
||||
const assert = require('assert');
|
||||
const fs = require('fs');
|
||||
const assert = require('node:assert');
|
||||
const fs = require('node:fs');
|
||||
const got = require('got');
|
||||
const path = require('path');
|
||||
const path = require('node:path');
|
||||
const { handleGitCall, ELECTRON_DIR } = require('./lib/utils.js');
|
||||
const { Octokit } = require('@octokit/rest');
|
||||
const octokit = new Octokit();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue