Skip to content
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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Hajer-Dahmani
Copy link

updated the code to handle null output,
Fixes #879 ,
signed-off-by: Hajer Dahmani [email protected]

Copy link

netlify bot commented Jul 20, 2024

Deploy Preview for eclipsefdn-adoptium-trss canceled.

Name Link
🔨 Latest commit 8dcd0a5
🔍 Latest deploy log https://app.netlify.com/sites/eclipsefdn-adoptium-trss/deploys/669e572e7553530008a0b857

Copy link

@hendrikebbers hendrikebbers left a 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',

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.

Copy link
Author

@Hajer-Dahmani Hajer-Dahmani left a 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!

@karianna karianna requested a review from hendrikebbers July 22, 2024 21:47
@hendrikebbers
Copy link

@llxia I do not know how the check the error manualy in the netlify setup. Can you check if the behavior is correct now?

@hendrikebbers hendrikebbers requested a review from llxia July 23, 2024 12:24
@llxia
Copy link
Contributor

llxia commented Jul 23, 2024

As discussed today, this PR should be updated.

Copy link
Contributor

@llxia llxia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

change requested.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TypeError: Cannot convert undefined or null to object
3 participants