Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 34.2k
lib: revokeObjectURL throws error on empty args#50433
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
Uh oh!
There was an error while loading. Please reload this page.
Conversation
nodejs-github-bot commented Oct 27, 2023
Review requested:
|
anonrig left a comment
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?
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
DylanTet commented Oct 27, 2023
@anonrig yessir ill knock that out |
DylanTet commented Oct 27, 2023
@anonrig just added the test for the function |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
jasnell left a comment
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
deokjinkim left a comment
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?
Refs: https://github.com/nodejs/node/blob/main/doc/contributing/pull-requests.md#commit-message-guidelines
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
H4ad commented Oct 29, 2023
@DylanTet can you remove the unnecessary commits? The PR was polluted because of them, but in general, it looks great. |
DylanTet commented Oct 29, 2023
@H4ad just removed the other commits, sorry about that, I am still getting better at git :) |
H4ad commented Oct 29, 2023
@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 |
Uh oh!
There was an error while loading. Please reload this page.
lpinca left a comment
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.
shubham9411 commented Nov 21, 2023
Hey @DylanTet, Are you working on this? |
DylanTet commented Nov 21, 2023
@shubham9411 i am, last I remember I updated the PR but it's still waiting review |
shubham9411 commented Nov 21, 2023
@DylanTet, I think you just need to rename the first commit message as H4ad suggested above. |
DylanTet commented Nov 21, 2023
@shubham9411 done :) |
H4ad commented Nov 26, 2023 • edited
Loading Uh oh!
There was an error while loading. Please reload this page.
edited
Uh oh!
There was an error while loading. Please reload this page.
@DylanTet the first message is still failing the CI, did you forgot to push? |
3c4cc75 to fe65184CompareAdded a check to see if url wasn't included as an argument which will then throw an error. Fixes: nodejs#50432
fe65184 to 5f66408Comparenodejs-github-bot commented Nov 28, 2023
nodejs-github-bot commented Nov 29, 2023
nodejs-github-bot commented Nov 30, 2023
nodejs-github-bot commented Nov 30, 2023
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.