-
-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
updated the code to handle null outpuT #894
base: master
Are you sure you want to change the base?
Conversation
…f-by: Hajer Dahmani [email protected] Signed-off-by: Hajer Dahmani <[email protected]>
✅ Deploy Preview for eclipsefdn-adoptium-trss canceled.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would like to create some constants instead of having duplicate code that could lead to problems in the future when only 1 of the code blocks will be updated, and others are missed.
{ | ||
testName: 'Pre Test', | ||
testOutput: '', | ||
testResult: 'FAILED', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The strings 'Pre Test' and 'FAILED' (+ 'Post Test' and 'PASSED') are used at several places in this file. With this new addition it would be great of we can create constants for that strings.
…Fixes adoptium#894, signed-off-by: Hajer Dahmani [email protected] Signed-off-by: Hajer Dahmani <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just implemented the changes you requested, thank you!
@llxia I do not know how the check the error manualy in the netlify setup. Can you check if the behavior is correct now? |
As discussed today, this PR should be updated. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
change requested.
updated the code to handle null output,
Fixes #879 ,
signed-off-by: Hajer Dahmani [email protected]