File tree Expand file tree Collapse file tree 1 file changed +1
-11
lines changed
extensions/ql-vscode/src/view/variant-analysis Expand file tree Collapse file tree 1 file changed +1
-11
lines changed Original file line number Diff line number Diff line change @@ -107,17 +107,7 @@ const canExpand = (
107107const canSelect = (
108108 status : VariantAnalysisRepoStatus | undefined ,
109109 downloadStatus : VariantAnalysisScannedRepositoryDownloadStatus | undefined ,
110- ) : boolean => {
111- if ( ! status ) {
112- return false ;
113- }
114-
115- if ( status !== VariantAnalysisRepoStatus . Succeeded ) {
116- return false ;
117- }
118-
119- return downloadStatus === VariantAnalysisScannedRepositoryDownloadStatus . Succeeded ;
120- } ;
110+ ) => status == VariantAnalysisRepoStatus . Succeeded && downloadStatus === VariantAnalysisScannedRepositoryDownloadStatus . Succeeded ;
121111
122112const isExpandableContentLoaded = (
123113 status : VariantAnalysisRepoStatus | undefined ,
You can’t perform that action at this time.
0 commit comments