File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -718,6 +718,14 @@ function getCanonicalToolcacheVersion(
718718 return cliVersion ;
719719}
720720
721+ interface SetupCodeQLResult {
722+ codeqlFolder : string ;
723+ toolsDownloadStatusReport ?: ToolsDownloadStatusReport ;
724+ toolsSource : ToolsSource ;
725+ toolsVersion : string ;
726+ zstdAvailability : tar . ZstdAvailability ;
727+ }
728+
721729/**
722730 * Obtains the CodeQL bundle, installs it in the toolcache if appropriate, and extracts it.
723731 *
@@ -731,7 +739,7 @@ export async function setupCodeQLBundle(
731739 defaultCliVersion : CodeQLDefaultVersionInfo ,
732740 features : FeatureEnablement ,
733741 logger : Logger ,
734- ) {
742+ ) : Promise < SetupCodeQLResult > {
735743 if ( ! ( await util . isBinaryAccessible ( "tar" , logger ) ) ) {
736744 throw new util . ConfigurationError (
737745 "Could not find tar in PATH, so unable to extract CodeQL bundle." ,
You can’t perform that action at this time.
0 commit comments