diff options
author | isaacs <i@izs.me> | 2012-03-20 19:42:34 -0700 |
---|---|---|
committer | isaacs <i@izs.me> | 2012-03-20 19:42:34 -0700 |
commit | 81cd3a3cd6204adbf645bd0538f794c1414511ed (patch) | |
tree | 4693b0c2192bb5bb88b8147dd5a75b41fb847c42 /lib/readline.js | |
parent | 4b1d49256193dd47a9f324a128c2a944bca72398 (diff) | |
download | nodejs-81cd3a3cd6204adbf645bd0538f794c1414511ed.tar.gz nodejs-81cd3a3cd6204adbf645bd0538f794c1414511ed.tar.bz2 nodejs-81cd3a3cd6204adbf645bd0538f794c1414511ed.zip |
lint readline.js - single-quotes preferred
Diffstat (limited to 'lib/readline.js')
-rw-r--r-- | lib/readline.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/readline.js b/lib/readline.js index 7534f8785..e0d801e87 100644 --- a/lib/readline.js +++ b/lib/readline.js @@ -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; @@ -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. |