mirror of
https://github.com/github/codeql-action.git
synced 2026-05-04 04:40:09 +00:00
Call core.endGroup() when doing an early return in installPythonDeps
This commit is contained in:
Generated
+2
@@ -133,6 +133,7 @@ async function installPythonDeps(codeql) {
|
||||
catch (e) {
|
||||
// The download should not fail, but in case it fails we just abort trying to setup the python deps
|
||||
core.warning('Unable to download and extract the scripts needed for installing the python dependecies');
|
||||
core.endGroup();
|
||||
return;
|
||||
}
|
||||
// Setup tools
|
||||
@@ -143,6 +144,7 @@ async function installPythonDeps(codeql) {
|
||||
// This script tries to install some needed tools in the runner. It should not fail, but if it does
|
||||
// we just abort the process without failing the action
|
||||
core.warning('Unable to download and extract the scripts needed for installing the python dependecies');
|
||||
core.endGroup();
|
||||
return;
|
||||
}
|
||||
// Install dependencies
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -143,6 +143,7 @@ async function installPythonDeps(codeql: CodeQL) {
|
||||
} catch (e) {
|
||||
// The download should not fail, but in case it fails we just abort trying to setup the python deps
|
||||
core.warning('Unable to download and extract the scripts needed for installing the python dependecies');
|
||||
core.endGroup();
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -153,6 +154,7 @@ async function installPythonDeps(codeql: CodeQL) {
|
||||
// This script tries to install some needed tools in the runner. It should not fail, but if it does
|
||||
// we just abort the process without failing the action
|
||||
core.warning('Unable to download and extract the scripts needed for installing the python dependecies');
|
||||
core.endGroup();
|
||||
return;
|
||||
}
|
||||
// Install dependencies
|
||||
|
||||
Reference in New Issue
Block a user