mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-06-05 08:58:50 +00:00
don't display logs when build is killed
This commit is contained in:
parent
7649248385
commit
f740bf91cf
1 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,7 @@
|
||||||
$scope.build = payload.data;
|
$scope.build = payload.data;
|
||||||
$scope.task = payload.data.tasks[step-1];
|
$scope.task = payload.data.tasks[step-1];
|
||||||
|
|
||||||
if ($scope.task.state === 'pending') {
|
if (['pending', 'killed'].indexOf($scope.task.state) !== -1) {
|
||||||
// do nothing
|
// do nothing
|
||||||
} else if ($scope.task.state === 'running') {
|
} else if ($scope.task.state === 'running') {
|
||||||
// stream the build
|
// stream the build
|
||||||
|
|
Loading…
Reference in a new issue