Revert "Update to Electron v2.0.0-beta.6 (#46552)"

This reverts commit 88603b377d.
This commit is contained in:
Benjamin Pasero
2018-04-06 09:33:18 +02:00
parent 00cc78d7bd
commit 24d87a7eb0
38 changed files with 3793 additions and 7310 deletions

View File

@@ -55,12 +55,12 @@ export class NodeCachedDataManager implements IWorkbenchContribution {
}
*/
this._telemetryService.publicLog('cachedDataInfo', {
didRequestCachedData: Boolean((<any>global).require.getConfig().nodeCachedDataDir),
didRequestCachedData: Boolean(global.require.getConfig().nodeCachedDataDir),
didRejectCachedData,
didProduceCachedData
});
(<any>global).require.config({ onNodeCachedData: undefined });
global.require.config({ onNodeCachedData: undefined });
delete MonacoEnvironment.onNodeCachedData;
}
}