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

Post Deploy Fixes #183

Merged
merged 3 commits into from
Aug 14, 2023
Merged

Post Deploy Fixes #183

merged 3 commits into from
Aug 14, 2023

Conversation

GrantBirki
Copy link
Member

Post Deploy Fixes

This pull request makes the "post deploy" step a bit more resilient. In some cases, a network blip or another process removing the lock file could result in the lock() method returning null for the lock data in the "post deploy" step. This would cause the final post deploy step to fail.

By using the ?. operator in JS combined with checking for null or undefined values, we can guard ourselves from this edge case.

@GrantBirki GrantBirki added the bug Something isn't working label Aug 14, 2023
@GrantBirki GrantBirki self-assigned this Aug 14, 2023
@GrantBirki GrantBirki merged commit 5e59914 into main Aug 14, 2023
4 checks passed
@GrantBirki GrantBirki deleted the post-deploy-fixes branch August 14, 2023 14:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants