Skip to content

Commit

Permalink
Fix extension filtering
Browse files Browse the repository at this point in the history
  • Loading branch information
bmealhouse committed Apr 12, 2019
1 parent d5bde47 commit 9d5eb62
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/extension.js
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ function getColorThemes(config) {

return vscode.extensions.all
.reduce((colorThemes, extension) => {
if (!extension.packageJSON.contributes) return colorThemes
if (!extension.packageJSON.contributes.themes) return colorThemes

return [
Expand Down

0 comments on commit 9d5eb62

Please sign in to comment.