refactor: Handle unknown artifact type in post_process_raw function
This commit is contained in:
parent
2e3b868cbc
commit
238db494f1
1 changed files with 2 additions and 0 deletions
|
|
@ -46,5 +46,7 @@ def get_artifact_type(value, build_result=None) -> str:
|
|||
def post_process_raw(raw, artifact_type: str):
|
||||
if artifact_type == ArtifactType.STREAM.value:
|
||||
raw = ""
|
||||
elif artifact_type == ArtifactType.UNKNOWN.value:
|
||||
raw = str(raw)
|
||||
|
||||
return raw
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue