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

Fix the workflow fixes #4292

Merged
merged 5 commits into from
Dec 10, 2024
Merged

Fix the workflow fixes #4292

merged 5 commits into from
Dec 10, 2024

Conversation

gilzow
Copy link
Collaborator

@gilzow gilzow commented Dec 9, 2024

Why

Previous workflow update introduce an erroneous call to the redirection action in the lint-prose workflow

Axios docs state an axios error object should be thrown when a request fails. That error object should contain a toJSON() method, but in a run of the action, node is reporting it's undefined. Adds a check to make sure the error object is an instance of the axios error before attempting to call the method.

@Kemi-Elizabeth Kemi-Elizabeth merged commit b13c02f into main Dec 10, 2024
9 of 15 checks passed
@Kemi-Elizabeth Kemi-Elizabeth deleted the fix-the-workflow-fixes branch December 10, 2024 15:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants