Fix: comments for ESLint

This commit is contained in:
anseki 2016-05-02 19:56:06 +09:00
parent a7555c2aac
commit 66d294e992

View file

@ -483,7 +483,7 @@ function margeOptions() {
var value;
if (!optionsPart.hasOwnProperty(optionName)) { return; }
value = optionsPart[optionName];
switch (optionName) { // eslint-disable-line default-case
switch (optionName) {
// _readlineSync <- * * -> defaultOptions
// ================ string
case 'mask': // * *
@ -533,6 +533,7 @@ function margeOptions() {
case 'display': // *
options[optionName] = value != null ? value : ''; // eslint-disable-line eqeqeq
break;
// no default
}
});
return options;
@ -771,7 +772,7 @@ function getValidLine(options) {
if (!forceNext && options.cd && res) {
args = parseCl(res);
switch (args[0].toLowerCase()) { // eslint-disable-line default-case
switch (args[0].toLowerCase()) {
case 'cd':
if (args[1]) {
try {
@ -786,6 +787,7 @@ function getValidLine(options) {
addDisplay(process.cwd());
forceNext = true;
break;
// no default
}
}