Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
5f06a09b
Unverified
Commit
5f06a09b
authored
Aug 29, 2022
by
Yih-Dar
Committed by
GitHub
Aug 29, 2022
Browse files
fix missing block when there is no failure (#18775)
Co-authored-by:
ydshieh
<
ydshieh@users.noreply.github.com
>
parent
f2fbe447
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
utils/notification_service_doc_tests.py
utils/notification_service_doc_tests.py
+1
-1
No files found.
utils/notification_service_doc_tests.py
View file @
5f06a09b
...
@@ -167,7 +167,7 @@ class Message:
...
@@ -167,7 +167,7 @@ class Message:
if
self
.
n_failures
>
0
:
if
self
.
n_failures
>
0
:
blocks
.
extend
([
self
.
category_failures
])
blocks
.
extend
([
self
.
category_failures
])
if
self
.
n
o
_failures
==
0
:
if
self
.
n_failures
==
0
:
blocks
.
append
(
self
.
no_failures
)
blocks
.
append
(
self
.
no_failures
)
return
json
.
dumps
(
blocks
)
return
json
.
dumps
(
blocks
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment