Skip to content

fix: handle null template validation messages#236

Merged
smithgp merged 2 commits intomainfrom
gps/null-validation-message
Mar 2, 2023
Merged

fix: handle null template validation messages#236
smithgp merged 2 commits intomainfrom
gps/null-validation-message

Conversation

@smithgp
Copy link
Copy Markdown
Collaborator

@smithgp smithgp commented Mar 1, 2023

What does this PR do?

Handle null template validation messages

What issues does this PR fix or reference?

@W-12573263@

@smithgp smithgp requested a review from a team as a code owner March 1, 2023 19:20
label: task.label,
readinessStatus: task.readinessStatus,
message: task.message
label: task.label || '',
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

sfdx's ux.table doesn't like nulls, it throw a js error. And, I'm getting nulls on at least message in my current build

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

do you need the same change in lint.ts?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

I'm seeing any nulls actually coming out in the lint responses currently, but, yeah, probably should do it there, too. I'll have it up in a sec.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Ok, updated lint.ts too

Comment thread .gitignore
tmp/

# tsc will sometimes make these
tsconfig.tsbuildinfo
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

yarn build spit this file out, could be from newer versions of typescript, but the internet says we can ignore it.

@smithgp smithgp merged commit db77824 into main Mar 2, 2023
@smithgp smithgp deleted the gps/null-validation-message branch March 2, 2023 16:28
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.

2 participants