Skip to content

Commit d190a01

Browse files
committed
Call core.endGroup() when doing an early return in installPythonDeps
1 parent 4d4cc33 commit d190a01

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

lib/setup-tracer.js

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/setup-tracer.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/setup-tracer.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ async function installPythonDeps(codeql: CodeQL) {
143143
} catch (e) {
144144
// The download should not fail, but in case it fails we just abort trying to setup the python deps
145145
core.warning('Unable to download and extract the scripts needed for installing the python dependecies');
146+
core.endGroup();
146147
return;
147148
}
148149

@@ -153,6 +154,7 @@ async function installPythonDeps(codeql: CodeQL) {
153154
// This script tries to install some needed tools in the runner. It should not fail, but if it does
154155
// we just abort the process without failing the action
155156
core.warning('Unable to download and extract the scripts needed for installing the python dependecies');
157+
core.endGroup();
156158
return;
157159
}
158160
// Install dependencies

0 commit comments

Comments
 (0)