Skip to content

Commit

Permalink
chore(demo): install official extensions only
Browse files Browse the repository at this point in the history
  • Loading branch information
purocean committed Aug 1, 2022
1 parent db48523 commit fc7ece5
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions scripts/install-demo-extensions.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,12 @@ function installExtension (extension) {

async function install (extensions) {
for (const extension of extensions) {
console.log('[extension] install', extension.name)
await installExtension(extension)
if (extension.name.startsWith('@yank-note/extension-')) {
console.log('[extension] install', extension.name)
await installExtension(extension)
} else {
console.log('[extension] skip', extension.name)
}
}
}

Expand Down

0 comments on commit fc7ece5

Please sign in to comment.