Skip to content

Commit 1eb3c62

Browse files
committed
O2 linter: Fix new lines of the result message in GitHub mode
1 parent c9852e9 commit 1eb3c62

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Scripts/o2_linter.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1723,7 +1723,7 @@ def main():
17231723
if passed:
17241724
msg_result = "All tests passed."
17251725
if github_mode:
1726-
print(f"::notice title={title_result}::{msg_result}")
1726+
print(f"\n::notice title={title_result}::{msg_result}")
17271727
else:
17281728
print(f"\n{title_result}: {msg_result}")
17291729
else:
@@ -1733,7 +1733,7 @@ def main():
17331733
" followed by the name of the test and parentheses with a reason for the exception."
17341734
)
17351735
if github_mode:
1736-
print(f"::error title={title_result}::{msg_result}")
1736+
print(f"\n::error title={title_result}::{msg_result}")
17371737
print(f"::notice::{msg_disable}")
17381738
else:
17391739
print(f"\n{title_result}: {msg_result}")

0 commit comments

Comments
 (0)