Skip to content
This repository has been archived by the owner on Nov 3, 2022. It is now read-only.

Commit

Permalink
Update for ESLint version
Browse files Browse the repository at this point in the history
  • Loading branch information
anseki committed Apr 27, 2016
1 parent 08e130a commit 5f5492c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/readline-sync.js
Expand Up @@ -694,7 +694,7 @@ function getPhCharlist(param) {
from = matches[1].charCodeAt(0);
to = matches[2].charCodeAt(0);
step = from < to ? 1 : -1;
for (code = from; code !== to + step; code += step) { text += String.fromCharCode(code); } /* ESLint bug */ // eslint-disable-line no-unmodified-loop-condition
for (code = from; code !== to + step; code += step) { text += String.fromCharCode(code); }
return text;
}

Expand Down

0 comments on commit 5f5492c

Please sign in to comment.