-
-
Notifications
You must be signed in to change notification settings - Fork 20
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
Support cjs/mjs/cts/mts glue extensions #85
Conversation
LGTM. Though I'm not an expert. @xeger can you release this along with VS code? |
@surc54 looks like CI disagrees. |
@mpkorstanje Hmmm, those crashes are quite interesting... I believe I tracked it down to this line in That piece of code seems to be responsible for watching the parent process, and in the event that the parent process seems to have been killed, it will kill the current process as well. If this is the culprit, that means this PR just exposed the problem by pushing the test running time past the 3s barrier. I've tried to mitigate this by changing the processId parameter to a string (58d0705) -- but please note that I'm not aware of the consequences of this change (this is my first dabble into vscode extensions) |
Thanks for the explanation! I don't know much about VSCode either. This project is pretty much all made up by contributions from drive-by-volunteers. Looking at the code though it seems this is the intended solution. |
Hi @surc54, Thanks for your making your first contribution to Cucumber, and welcome to the Cucumber committers team! You can now push directly to this repo and all other repos under the cucumber organization! 🍾 In return for this generous offer we hope you will:
On behalf of the Cucumber core team, |
🤔 What's changed?
This PR adds support for glue files with the following file extensions:
*.cjs
,*.mjs
*.cts
,*.mts
⚡️ What's your motivation?
I wanted to use
*.mjs
glue files to keep consistency with the rest of my repository.Fixes #78
🏷️ What kind of change is this?
♻️ Anything particular you want feedback on?
I decided not to edit the default settings since I'm not aware of what it might affect.
📋 Checklist:
My change requires a change to the documentation.N/AI have updated the documentation accordingly.N/A