Skip to content

Commit 54a4f99

Browse files
committed
lint
1 parent 1319835 commit 54a4f99

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

lib/fs.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ var O_SYNC = constants.O_SYNC || 0;
5050
var O_TRUNC = constants.O_TRUNC || 0;
5151
var O_WRONLY = constants.O_WRONLY || 0;
5252

53-
var isWindows = process.platform === 'win32'
53+
var isWindows = process.platform === 'win32';
5454

5555
fs.Stats = binding.Stats;
5656

@@ -1164,7 +1164,7 @@ var ReadStream = fs.ReadStream = function(path, options) {
11641164
}
11651165

11661166
if (this.fd !== null) {
1167-
process.nextTick(function () {
1167+
process.nextTick(function() {
11681168
self._read();
11691169
});
11701170
return;

lib/readline.js

+4-3
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ Interface.prototype._setRawMode = function(mode) {
145145
if (typeof this.input.setRawMode === 'function') {
146146
return this.input.setRawMode(mode);
147147
}
148-
}
148+
};
149149

150150

151151
Interface.prototype.prompt = function(preserveCursor) {
@@ -656,8 +656,9 @@ Interface.prototype._ttyWrite = function(s, key) {
656656
self.pause();
657657
self.emit('SIGCONT');
658658
}
659-
// explictly re-enable "raw mode" and move the cursor to the correct
660-
// position. See https://github.com/joyent/node/issues/3295.
659+
// explictly re-enable "raw mode" and move the cursor to
660+
// the correct position.
661+
// See https://github.com/joyent/node/issues/3295.
661662
self._setRawMode(true);
662663
self._refreshLine();
663664
};

0 commit comments

Comments
 (0)