mirror of
https://github.com/saltstack/salt.git
synced 2025-04-16 17:50:20 +00:00
ctx.print
is not the same as python's print
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
This commit is contained in:
parent
6fb799d38a
commit
e93d3fcc9c
1 changed files with 1 additions and 3 deletions
|
@ -10,7 +10,6 @@ import ast
|
|||
import os
|
||||
import pathlib
|
||||
import re
|
||||
import sys
|
||||
from typing import TYPE_CHECKING
|
||||
|
||||
from ptscripts import Context, command_group
|
||||
|
@ -831,8 +830,7 @@ def annotate(
|
|||
# Print it to stdout so that the GitHub runner pick's it up and adds the annotation
|
||||
ctx.print(
|
||||
f"::{kind} file={fpath},line={start_lineno},endLine={end_lineno}::{message}",
|
||||
file=sys.stdout,
|
||||
flush=True,
|
||||
soft_wrap=True,
|
||||
)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue