Skip to content

Commit 134fb36

Browse files
committed
fixup! lint
1 parent 49eae4a commit 134fb36

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

lib/internal/streams/writable.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ const {
3232
ObjectDefineProperty,
3333
ObjectDefineProperties,
3434
ObjectSetPrototypeOf,
35+
Promise,
3536
StringPrototypeToLowerCase,
3637
Symbol,
3738
SymbolAsyncDispose,

test/parallel/test-stream-transform-destroy.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,8 +147,8 @@ const assert = require('assert');
147147
transform(chunk, enc, cb) {}
148148
});
149149
transform.on('error', common.mustCall((err) => {
150-
assert.strictEqual(err.name, "AbortError");
150+
assert.strictEqual(err.name, 'AbortError');
151151
}));
152152
transform.on('clocse', common.mustCall());
153153
transform[Symbol.asyncDispose]().then(common.mustCall());
154-
}
154+
}

test/parallel/test-stream-writable-destroy.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -499,4 +499,4 @@ const assert = require('assert');
499499
assert.strictEqual(write.destroyed, true);
500500
}));
501501
write[Symbol.asyncDispose]().then(common.mustCall());
502-
}
502+
}

0 commit comments

Comments
 (0)