address feedback
parent
6e99e8a826
commit
4370b66e75
|
@ -16,3 +16,4 @@ vscode.lsif
|
|||
vscode.db
|
||||
/.profile-oss
|
||||
/cli/target
|
||||
product.overrides.json
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
{}
|
|
@ -19,7 +19,7 @@ globalThis._VSCODE_NODE_MODULES = new Proxy(Object.create(null), { get: (_target
|
|||
let product = require('../product.json');
|
||||
if (process.env['VSCODE_DEV']) {
|
||||
// Patch product overrides when running out of sources
|
||||
product = Object.assign(product, require('../product.overrides.json'));
|
||||
try { product = Object.assign(product, require(require('path').join(__dirname, '../product.overrides.json'))); } catch (error) { /* ignore */ }
|
||||
}
|
||||
globalThis._VSCODE_PRODUCT_JSON = product;
|
||||
globalThis._VSCODE_PACKAGE_JSON = require('../package.json');
|
||||
|
|
|
@ -120,7 +120,7 @@
|
|||
let product = (require.__$__nodeRequire ?? require)(configuration.appRoot + '/product.json');
|
||||
if (process.env['VSCODE_DEV']) {
|
||||
// Patch product overrides when running out of sources
|
||||
product = Object.assign(product, (require.__$__nodeRequire ?? require)(configuration.appRoot + '/product.overrides.json'));
|
||||
try { product = Object.assign(product, (require.__$__nodeRequire ?? require)(configuration.appRoot + '/product.overrides.json')); } catch (error) { /* ignore */ }
|
||||
}
|
||||
globalThis._VSCODE_PRODUCT_JSON = product;
|
||||
globalThis._VSCODE_PACKAGE_JSON = (require.__$__nodeRequire ?? require)(configuration.appRoot + '/package.json');
|
||||
|
|
Loading…
Reference in New Issue