chore: upgrade to Node.js v14.9.0 (#25249)

This commit is contained in:
Shelley Vohr 2020-09-17 16:08:57 -06:00 committed by GitHub
parent 4d1dab849f
commit 77038b7bda
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
66 changed files with 724 additions and 1343 deletions

View file

@ -353,7 +353,7 @@ handleRemoteCommand('ELECTRON_BROWSER_REQUIRE', function (event, contextId, modu
if (customEvent.defaultPrevented) {
throw new Error(`Blocked remote.require('${moduleName}')`);
} else {
customEvent.returnValue = process.mainModule!.require(moduleName);
customEvent.returnValue = (process as any).mainModule.require(moduleName);
}
}