Skip to content

Commit

Permalink
fixup! lint
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamingr committed Jun 25, 2023
1 parent 49eae4a commit 134fb36
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions lib/internal/streams/writable.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ const {
ObjectDefineProperty,
ObjectDefineProperties,
ObjectSetPrototypeOf,
Promise,
StringPrototypeToLowerCase,
Symbol,
SymbolAsyncDispose,
Expand Down
4 changes: 2 additions & 2 deletions test/parallel/test-stream-transform-destroy.js
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,8 @@ const assert = require('assert');
transform(chunk, enc, cb) {}
});
transform.on('error', common.mustCall((err) => {
assert.strictEqual(err.name, "AbortError");
assert.strictEqual(err.name, 'AbortError');
}));
transform.on('clocse', common.mustCall());
transform[Symbol.asyncDispose]().then(common.mustCall());
}
}
2 changes: 1 addition & 1 deletion test/parallel/test-stream-writable-destroy.js
Original file line number Diff line number Diff line change
Expand Up @@ -499,4 +499,4 @@ const assert = require('assert');
assert.strictEqual(write.destroyed, true);
}));
write[Symbol.asyncDispose]().then(common.mustCall());
}
}

0 comments on commit 134fb36

Please sign in to comment.