-
-
Notifications
You must be signed in to change notification settings - Fork 61
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
Bugfix: fail at getting uuid more gracefully #1702
base: master
Are you sure you want to change the base?
Conversation
@@ -77,8 +77,12 @@ const getCard = (cardCode) => { | |||
|
|||
const getUuid = (cardCode) => { | |||
const [setCode, cardNumber] = cardCode.split(":"); | |||
const { cardsByNumber } = getSet(setCode.toUpperCase()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this line here was the gotcha - destructuring undefined
was causing an error to be thrown in CI
I don't know why the set would not be found, maybe that's an error which should throw, as it shows your data is somehow really wrong.
Node 18 failed - didn't download the data needed. Re-running to see if it passes |
WIP - closest I've got is that there is something going wrong in Node 18 CI around download of sets - it seems like malformed sets are being saved e.g. |
was seeing CI fail on this particular line in another PR, this is an attempt to fix that