Move web playground code into its own extension (#92672)

This splits the web playground out from vscode-api-tests
This commit is contained in:
Matt Bierner
2020-03-17 15:01:17 -07:00
committed by GitHub
parent 14514ea39a
commit 1c741ecc64
13 changed files with 254 additions and 5 deletions

View File

@@ -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
}