Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
lint readline.js - single-quotes preferred
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacs committed Mar 21, 2012
1 parent 4b1d492 commit 81cd3a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/readline.js
Expand Up @@ -48,7 +48,7 @@ function Interface(input, output, completer) {
completer = completer || function() { return []; };

if (typeof completer !== 'function') {
throw new TypeError("Argument 'completer' must be a function");
throw new TypeError('Argument \'completer\' must be a function');
}

var self = this;
Expand Down Expand Up @@ -207,7 +207,7 @@ Interface.prototype._refreshLine = function() {

// Force terminal to allocate a new line
if (lineCols === 0) {
this.output.write(" ");
this.output.write(' ');
}

// Move cursor to original position.
Expand Down

0 comments on commit 81cd3a3

Please sign in to comment.