lib: revokeObjectURL throws error on empty args#50433
lib: revokeObjectURL throws error on empty args#50433nodejs-github-bot merged 1 commit intonodejs:mainfrom
Conversation
|
Review requested:
|
|
@anonrig yessir ill knock that out |
|
@anonrig just added the test for the function |
9905966 to
3079e71
Compare
deokjinkim
left a comment
There was a problem hiding this comment.
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
|
@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
lpinca
left a comment
There was a problem hiding this comment.
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 <jasnell@gmail.com> Reviewed-By: Vinícius Lourenço Claro Cardoso <contact@viniciusl.com.br> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Zeyu "Alex" Yang <himself65@outlook.com>
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 <jasnell@gmail.com> Reviewed-By: Vinícius Lourenço Claro Cardoso <contact@viniciusl.com.br> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Zeyu "Alex" Yang <himself65@outlook.com>
Fixes: #50432
Added a check to see if url wasnt included as an argument which will then throw an error.