mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-02-02 04:32:23 +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.task = payload.data.tasks[step-1];
|
||||
|
||||
if ($scope.task.state === 'pending') {
|
||||
if (['pending', 'killed'].indexOf($scope.task.state) !== -1) {
|
||||
// do nothing
|
||||
} else if ($scope.task.state === 'running') {
|
||||
// stream the build
|
||||
|
|
Loading…
Reference in a new issue