File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ import { extensionContext } from "./extension";
44
55export interface DubDependencyInfo {
66 name : string ;
7+ failed ?: boolean ;
78 version : string ;
89 path : string ;
910 description : string ;
@@ -20,7 +21,7 @@ export class DubDependency extends vscode.TreeItem {
2021 constructor ( info : DubDependencyInfo , command ?: vscode . Command , icon ?: string ) ;
2122 constructor ( info : string , command ?: vscode . Command , icon ?: string ) ;
2223 constructor ( info : DubDependencyInfo | string , command ?: vscode . Command , icon ?: string ) {
23- super ( typeof info == "string" ? info : info . name + ": " + info . version ,
24+ super ( typeof info == "string" ? info : info . name + ": " + info . version + ( info . failed ? " (failed loading)" : "" ) ,
2425 typeof info == "string" ? vscode . TreeItemCollapsibleState . None : vscode . TreeItemCollapsibleState . Collapsed ) ;
2526 if ( typeof info == "object" ) {
2627 this . info = info ;
You can’t perform that action at this time.
0 commit comments