Skip to content

Post Deploy Fixes - #183

Merged
GrantBirki merged 3 commits into
mainfrom
post-deploy-fixes
Aug 14, 2023
Merged

GrantBirki merged 3 commits into
mainfrom
post-deploy-fixes

Conversation

@GrantBirki

Copy link
Copy Markdown
Contributor

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
@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