We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5826301 commit 0a3e4feCopy full SHA for 0a3e4fe
src/extension.ts
@@ -112,7 +112,7 @@ export async function activate(context: ExtensionContext) {
112
label: ENTRY_OPTION.VIEW_LICENSE,
113
description: selectedEntry.github.license.name
114
},
115
- !!selectedEntry.github.stats.dependencies && {
+ selectedEntry.github.stats.dependencies !== undefined && {
116
label: ENTRY_OPTION.VIEW_DEPENDENCIES,
117
description: `$(package) ${numberFormatter.format(selectedEntry.github.stats.dependencies)} ${selectedEntry.github.stats.dependencies === 1 ? 'dependency' : 'dependencies'}`
118
0 commit comments