-
Notifications
You must be signed in to change notification settings - Fork 30k
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
worker: remove file extension check #39788
worker: remove file extension check #39788
Conversation
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.
It might also be good to add a test that a file with another extension can be loaded.
@addaleax Thanks, reviews are addressed, PTAL |
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.
It would be good to talk about the implications of this PR since it is trying to promote usage of a deprecated API.
I think likely this is fine since we don't have |
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.
Couldn't think of any forwards compat concerns if we do introduce type:module
@Ayase-252 can you please rebase (I think it will fix the linter issue) |
dfc24f8
to
1c6cd1c
Compare
Landed in 229b7d2...52ebe0f |
Instead of adding an option, remove the check entirely.
Fixes: #39124
Alternative to #39785