Skip to content

Commit

Permalink
stream: support FileHandle in Read/WriteStream
Browse files Browse the repository at this point in the history
Cosmetic fixes / primordials

Co-authored-by: Antoine du Hamel <[email protected]>
  • Loading branch information
mmomtchev and aduh95 committed Dec 2, 2020
1 parent 7495c24 commit be4dc0b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/events.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const {
String,
Symbol,
SymbolFor,
SymbolAsyncIterator,
SymbolAsyncIterator
} = primordials;
const kRejection = SymbolFor('nodejs.rejection');

Expand Down
2 changes: 1 addition & 1 deletion lib/internal/event_target.js
Original file line number Diff line number Diff line change
Expand Up @@ -653,7 +653,7 @@ const EventEmitterMixin = (Superclass) => {
class MixedEventEmitter extends Superclass {
constructor(...args) {
super(...args);
EventEmitter.call(this);
FunctionPrototypeCall(EventEmitter, this);
}
}
const protoProps = ObjectGetOwnPropertyDescriptors(EventEmitter.prototype);
Expand Down

0 comments on commit be4dc0b

Please sign in to comment.