-
Notifications
You must be signed in to change notification settings - Fork 21
chore: fix JavaScript build #975
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
Conversation
✅ Deploy Preview for api-clients-automation canceled.
|
✗ The generated branch has been deleted.If the PR has been merged, you can check the generated code on the |
scripts/buildClients.ts
Outdated
) | ||
.join(','); | ||
); | ||
const toRun = |
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.
interesting bug, maybe it's easier to always use the {name,}
syntax in both cases, that way you don't need the if (unless {name1,name2,}
isn't valid syntax)
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.
ah it should work yes
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.
nice !
🧭 What and Why
🎟 JIRA Ticket: -
Changes included:
See build error in #974
Glob pattern match does not work with single match (unless we add a trailing comma). We can use regular scope syntax when there's a single element to prevent this error.
This throw:
This does not: