Build failed (fix #200032) (#200037)

This commit is contained in:
Benjamin Pasero 2023-12-05 14:45:25 +01:00 committed by GitHub
parent 65d0130a5c
commit 0ccae8afbd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 2 deletions

View file

@ -19,6 +19,7 @@ const bootstrapNode = require('./bootstrap-node');
const product = require('../product.json');
// Enable portable support
// @ts-ignore
bootstrapNode.configurePortable(product);
// Enable ASAR support

View file

@ -24,6 +24,7 @@ const { getUserDataPath } = require('./vs/platform/environment/node/userDataPath
const { stripComments } = require('./vs/base/common/stripComments');
const { getUNCHost, addUNCHostToAllowlist } = require('./vs/base/node/unc');
/** @type {Partial<IProductConfiguration>} */
// @ts-ignore
const product = require('../product.json');
const { app, protocol, crashReporter, Menu } = require('electron');

View file

@ -118,7 +118,7 @@ suite('parseArgs', () => {
_: { type: 'string[]' }
}),
_: { type: 'string[]' }
} satisfies OptionDescriptions<TestArgs1>;
} as OptionDescriptions<TestArgs1>;
assertParse(
options1,
['testcmd', '--testArg=foo'],
@ -148,7 +148,7 @@ suite('parseArgs', () => {
}),
testX: { type: 'boolean', global: true, description: '' },
_: { type: 'string[]' }
} satisfies OptionDescriptions<TestArgs2>;
} as OptionDescriptions<TestArgs2>;
assertParse(
options2,
['testcmd', '--testArg=foo', '--testX'],