mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 13:00:58 +00:00
get marketplace extensions in yarn web
This commit is contained in:
parent
f4a0c209be
commit
c71edb7d88
|
@ -21,6 +21,7 @@ const vfs = require('vinyl-fs');
|
|||
const uuid = require('uuid');
|
||||
|
||||
const extensions = require('../../build/lib/extensions');
|
||||
const { getBuiltInExtensions } = require('../../build/lib/builtInExtensions');
|
||||
|
||||
const APP_ROOT = path.join(__dirname, '..', '..');
|
||||
const BUILTIN_EXTENSIONS_ROOT = path.join(APP_ROOT, 'extensions');
|
||||
|
@ -90,6 +91,8 @@ const exists = (path) => util.promisify(fs.exists)(path);
|
|||
const readFile = (path) => util.promisify(fs.readFile)(path);
|
||||
|
||||
async function getBuiltInExtensionInfos() {
|
||||
await getBuiltInExtensions();
|
||||
|
||||
const allExtensions = [];
|
||||
/** @type {Object.<string, string>} */
|
||||
const locations = {};
|
||||
|
|
Loading…
Reference in a new issue