mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-27 20:13:32 +01:00
Move web playground code into its own extension (#92672)
This splits the web playground out from vscode-api-tests
This commit is contained in:
@@ -145,7 +145,7 @@ async function handleRoot(req, res) {
|
||||
await Promise.all(extensionFolders.map(async extensionFolder => {
|
||||
try {
|
||||
const packageJSON = JSON.parse((await util.promisify(fs.readFile)(path.join(EXTENSIONS_ROOT, extensionFolder, 'package.json'))).toString());
|
||||
if (packageJSON.main && packageJSON.name !== 'vscode-api-tests') {
|
||||
if (packageJSON.main && packageJSON.name !== 'vscode-web-playground') {
|
||||
return; // unsupported
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user