-
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
stream: improving error msg for stream #8801
stream: improving error msg for stream #8801
Conversation
I think we're still in a condition where (unfortunately) changing an error message means the change is semver major. (/cc @jasnell in case I'm wrong) Labeling Change looks good to me, although I would probably be inclined to omit the word |
I don't care too much about "method" being there or not, but I'm happy with this change 👍 (and agree it's semver-major) |
|
+1 for using consistent error messages. It's semver major so changing |
I just remove method from |
|
||
# Visual Studio Code | ||
.vscode/ | ||
jsconfig.json |
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.
could you please add a newline at the end here?
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.
Do we actually want to add that data to .gitignore? If I'm not wrong there is an ongoing discussion in another PR for .idea
and another open PR to whitelist stuff instead of blacklisting.
I think .idea
, .vscode
and the others should be in the user global gitignore not here.
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.
I found the PR: #6963
... I think is just better to add this kind of common files to .gitignore
that asking people to add this to the global ignore. Just because this way we don't need to mention again something about this topic and really this don't hurt anyone
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.
@italoacasas #8016 is a much better option imho.
LGTM with nits addressed and green CI. |
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 without the .gitignore
changes.
@@ -93,3 +92,7 @@ test.tap | |||
# Xcode workspaces and project folders | |||
*.xcodeproj | |||
*.xcworkspace | |||
|
|||
# Visual Studio Code |
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.
These should be done elsewhere.
…en not implemented
Done |
LGTM |
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
I'll start landing this:
|
Improve message when tranform._transform() method is not implemented Improve error message when Readable._read() is not implemented Remove extra word in err msg when Writable._write() when not implemented Remove extra word in err msg when Transform._transform() when not implemented PR-URL: #8801 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Ilkka Myller <ilkka.myller@nodefield.com>
Landed in 560a589 Thank you for your effort and contribution, @italoacasas |
@nodejs/ctc ... any objections to this landing in v7.x? |
Improve message when tranform._transform() method is not implemented Improve error message when Readable._read() is not implemented Remove extra word in err msg when Writable._write() when not implemented Remove extra word in err msg when Transform._transform() when not implemented PR-URL: #8801 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Ilkka Myller <ilkka.myller@nodefield.com>
Checklist
make -j8 test
(UNIX), orvcbuild test nosign
(Windows) passesAffected core subsystem(s)
Description of change
Transform._transform()
is not implementReadable._read()
is not implementWritable._write()
is not implemented