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 bug when doing an version check with \timing on #184

Merged
merged 4 commits into from
Feb 21, 2022

Conversation

andscoop
Copy link
Contributor

@andscoop andscoop commented May 4, 2021

This PR allows the version check to execute with or without \timing enabled while still allowing us to guard against index out of range errors.

Fixes: https://gus.lightning.force.com/lightning/r/ADM_Work__c/a07B0000008x6klIAA/view

@andscoop
Copy link
Contributor Author

andscoop commented May 5, 2021

This PR will depend on heroku/cli#1801 being released

@andscoop andscoop changed the title Guard against index out of range Fix bug when doing an version check with \timing on May 5, 2021
@iriberri
Copy link

iriberri commented Feb 4, 2022

@andscoop just noticed the depending PR got merged! There are some conflicts now but should we go ahead with this? We've seen another case where PG version detection isn't correct (although I haven't been able to find why yet) and I think this should fix it too.

@andscoop andscoop force-pushed the fsre/version-check-works-with-timing-off branch from abeb0c2 to d93b6b2 Compare February 17, 2022 21:23
lib/util.js Outdated Show resolved Hide resolved
lib/util.js Outdated Show resolved Hide resolved
andscoop and others added 2 commits February 21, 2022 11:30
Co-authored-by: Todd Evanoff <evanoff@gmail.com>
Co-authored-by: Todd Evanoff <evanoff@gmail.com>
Copy link
Contributor

@tevanoff tevanoff left a comment

Choose a reason for hiding this comment

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

👍

@andscoop andscoop merged commit fd933c2 into main Feb 21, 2022
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.

3 participants