Fix workflow error (#128)

* Fix workflow error

Add checks for annotation.message and annotation.raw_details

* Fix workflow error

* Fix error when using Assert.Fail()
pull/132/head
David Finol 2021-05-30 18:52:46 -05:00 committed by GitHub
parent ad11a10dc8
commit cf55f1c921
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@ -102,7 +102,7 @@ class ResultsParser {
end_line: point.line,
annotation_level: 'failure',
title: fullname,
message: failure.message._cdata,
message: failure.message._cdata ? failure.message._cdata : 'Test Failed!',
raw_details: trace,
};
core.info(