mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-19 01:25:36 -05:00
Merge VS Code 1.31.1 (#4283)
This commit is contained in:
@@ -50,7 +50,7 @@ bootstrapWindow.load([
|
||||
showPartsSplash(windowConfig);
|
||||
},
|
||||
beforeLoaderConfig: function (windowConfig, loaderConfig) {
|
||||
loaderConfig.recordStats = !!windowConfig.performance;
|
||||
loaderConfig.recordStats = !!windowConfig['prof-modules'];
|
||||
if (loaderConfig.nodeCachedData) {
|
||||
const onNodeCachedData = window['MonacoEnvironment'].onNodeCachedData = [];
|
||||
loaderConfig.nodeCachedData.onData = function () {
|
||||
@@ -72,15 +72,7 @@ function showPartsSplash(configuration) {
|
||||
|
||||
let data;
|
||||
try {
|
||||
if (!process.env['VSCODE_TEST_STORAGE_MIGRATION']) {
|
||||
// TODO@Ben remove me after a while
|
||||
perf.mark('willReadLocalStorage');
|
||||
let raw = window.localStorage.getItem('storage://global/parts-splash-data');
|
||||
perf.mark('didReadLocalStorage');
|
||||
data = JSON.parse(raw);
|
||||
} else {
|
||||
data = JSON.parse(configuration.partsSplashData);
|
||||
}
|
||||
data = JSON.parse(configuration.partsSplashData);
|
||||
} catch (e) {
|
||||
// ignore
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user