-
Notifications
You must be signed in to change notification settings - Fork 29.8k
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
lib: revokeObjectURL throws error on empty args #50433
Conversation
Review requested:
|
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.
Can you add a test as well?
@anonrig yessir ill knock that out |
@anonrig just added the test for the function |
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.
LGTM with some linting fixes
9905966
to
3079e71
Compare
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.
First line of commit message has to be started with imperative verb. For example, url: check argument length of revokeObjectURL
. Could you please modify first line of commit message?
@DylanTet can you remove the unnecessary commits? The PR was polluted because of them, but in general, it looks great. |
d9f1ca6
to
42a589e
Compare
@H4ad just removed the other commits, sorry about that, I am still getting better at git :) |
@DylanTet Can you rename the message of the first commit? https://github.com/nodejs/node/actions/runs/6683924004/job/18160770160?pr=50433 It should be less than You should also fix the linting errors: https://github.com/nodejs/node/actions/runs/6683924005/job/18160770724?pr=50433 You can test locally using |
42a589e
to
3c4cc75
Compare
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.
LGTM with lint errors and commit message title fixed.
Hey @DylanTet, Are you working on this? |
@shubham9411 i am, last I remember I updated the PR but it's still waiting review |
@DylanTet, I think you just need to rename the first commit message as H4ad suggested above. |
@shubham9411 done :) |
@DylanTet the first message is still failing the CI, did you forgot to push? |
3c4cc75
to
fe65184
Compare
Added a check to see if url wasn't included as an argument which will then throw an error. Fixes: nodejs#50432
fe65184
to
5f66408
Compare
Landed in 2f40652 |
Added a check to see if url wasn't included as an argument which will then throw an error. Fixes: #50432 PR-URL: #50433 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Vinícius Lourenço Claro Cardoso <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Zeyu "Alex" Yang <[email protected]>
Added a check to see if url wasn't included as an argument which will then throw an error. Fixes: #50432 PR-URL: #50433 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Vinícius Lourenço Claro Cardoso <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Zeyu "Alex" Yang <[email protected]>
Fixes: #50432
Added a check to see if url wasnt included as an argument which will then throw an error.