-
Notifications
You must be signed in to change notification settings - Fork 30.6k
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
src: replace NewFromUtf8 with OneByteString where appropriate #57096
base: main
Are you sure you want to change the base?
src: replace NewFromUtf8 with OneByteString where appropriate #57096
Conversation
Review requested:
|
src/spawn_sync.cc
Outdated
String::NewFromUtf8(env()->isolate(), | ||
signo_string(term_signal_)) | ||
.ToLocalChecked()) | ||
OneByteString(env()->isolate(), signo_string(term_signal_))) |
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.
Should we cache this signo_string() result in the future?
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 wouldn't think that is necessary.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #57096 +/- ##
=======================================
Coverage 89.05% 89.06%
=======================================
Files 665 665
Lines 193299 193292 -7
Branches 37257 37254 -3
=======================================
+ Hits 172152 172155 +3
+ Misses 13841 13834 -7
+ Partials 7306 7303 -3
|
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
This comment was marked as outdated.
This comment was marked as outdated.
ccf154e
to
84e19d1
Compare
No description provided.