Skip to content

Commit fb8811d

Browse files
committed
lib,test: fix whitespace issues
PR-URL: #1971 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
1 parent 8d8a26e commit fb8811d

40 files changed

+8
-79
lines changed

lib/_debugger.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -641,10 +641,6 @@ Client.prototype.fullTrace = function(cb) {
641641
};
642642

643643

644-
645-
646-
647-
648644
const commands = [
649645
[
650646
'run (r)',

lib/_http_server.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,6 @@ ServerResponse.prototype._finish = function() {
9898
};
9999

100100

101-
102101
exports.ServerResponse = ServerResponse;
103102

104103
ServerResponse.prototype.statusCode = 200;

lib/_stream_readable.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,6 @@ function readableAddChunk(stream, state, chunk, encoding, addToFront) {
167167
}
168168

169169

170-
171170
// if it's past the high water mark, we can push in some more.
172171
// Also, if we have no data yet, we can stand some
173172
// more bytes. This is to work around cases where hwm=0,
@@ -547,7 +546,6 @@ Readable.prototype.pipe = function(dest, pipeOpts) {
547546
dest._events.error = [onerror, dest._events.error];
548547

549548

550-
551549
// Both close and finish should trigger unpipe, but only once.
552550
function onclose() {
553551
dest.removeListener('finish', onfinish);
@@ -800,7 +798,6 @@ Readable.prototype.wrap = function(stream) {
800798
};
801799

802800

803-
804801
// exposed for testing purposes only.
805802
Readable._fromList = fromList;
806803

lib/crypto.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,6 @@ Decipheriv.prototype.setAuthTag = Cipher.prototype.setAuthTag;
280280
Decipheriv.prototype.setAAD = Cipher.prototype.setAAD;
281281

282282

283-
284283
exports.createSign = exports.Sign = Sign;
285284
function Sign(algorithm, options) {
286285
if (!(this instanceof Sign))
@@ -316,7 +315,6 @@ Sign.prototype.sign = function(options, encoding) {
316315
};
317316

318317

319-
320318
exports.createVerify = exports.Verify = Verify;
321319
function Verify(algorithm, options) {
322320
if (!(this instanceof Verify))
@@ -562,7 +560,6 @@ ECDH.prototype.getPublicKey = function getPublicKey(encoding, format) {
562560
};
563561

564562

565-
566563
exports.pbkdf2 = function(password,
567564
salt,
568565
iterations,

lib/fs.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1596,7 +1596,6 @@ fs.realpath = function realpath(p, cache, cb) {
15961596
};
15971597

15981598

1599-
16001599
var pool;
16011600

16021601
function allocNewPool(poolSize) {
@@ -1605,7 +1604,6 @@ function allocNewPool(poolSize) {
16051604
}
16061605

16071606

1608-
16091607
fs.createReadStream = function(path, options) {
16101608
return new ReadStream(path, options);
16111609
};
@@ -1778,8 +1776,6 @@ ReadStream.prototype.close = function(cb) {
17781776
};
17791777

17801778

1781-
1782-
17831779
fs.createWriteStream = function(path, options) {
17841780
return new WriteStream(path, options);
17851781
};

lib/net.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1004,7 +1004,6 @@ Socket.prototype.unref = function() {
10041004
};
10051005

10061006

1007-
10081007
function afterConnect(status, handle, req, readable, writable) {
10091008
var self = handle.owner;
10101009

lib/readline.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -889,7 +889,6 @@ Interface.prototype._ttyWrite = function(s, key) {
889889
exports.Interface = Interface;
890890

891891

892-
893892
/**
894893
* accepts a readable Stream instance and makes it emit "keypress" events
895894
*/

lib/stream.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ Stream.PassThrough = require('_stream_passthrough');
1616
Stream.Stream = Stream;
1717

1818

19-
2019
// old-style streams. Note that the pipe method (the only relevant
2120
// part of this class) is overridden in the Readable class.
2221

lib/tty.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ ReadStream.prototype.setRawMode = function(flag) {
4949
};
5050

5151

52-
5352
function WriteStream(fd) {
5453
if (!(this instanceof WriteStream)) return new WriteStream(fd);
5554
net.Socket.call(this, {

lib/zlib.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,6 @@ function Inflate(opts) {
241241
}
242242

243243

244-
245244
// gzip - bigger header, same deflate compression
246245
function Gzip(opts) {
247246
if (!(this instanceof Gzip)) return new Gzip(opts);
@@ -254,7 +253,6 @@ function Gunzip(opts) {
254253
}
255254

256255

257-
258256
// raw - no header
259257
function DeflateRaw(opts) {
260258
if (!(this instanceof DeflateRaw)) return new DeflateRaw(opts);

0 commit comments

Comments
 (0)