Skip to content

Commit 37e002f

Browse files
committed
fix lint errors
1 parent 7869895 commit 37e002f

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

js/unix_formatting.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1193,13 +1193,11 @@
11931193
background = output_background;
11941194
} else if (output_background === 'transparent') {
11951195
background = output_background;
1196+
} else if (state.blink && ansi_art) {
1197+
background = $.terminal.ansi_colors.bold[output_background];
11961198
} else {
1197-
if (state.blink && ansi_art) {
1198-
background = $.terminal.ansi_colors.bold[output_background];
1199-
} else {
1200-
// background is not changed by bold flag
1201-
background = $.terminal.ansi_colors.normal[output_background];
1202-
}
1199+
// background is not changed by bold flag
1200+
background = $.terminal.ansi_colors.normal[output_background];
12031201
}
12041202
state.background = output_background;
12051203
} else if (state.blink && ansi_art) {
@@ -1320,7 +1318,9 @@
13201318
}
13211319
},
13221320
inst_E: function(data) {
1321+
/* eslint-disable no-console */
13231322
console.log(data);
1323+
/* eslint-enable no-console */
13241324
},
13251325
inst_c: function(collected, params, flag) {
13261326
var value = params[0] === 0 ? 1 : params[0];

0 commit comments

Comments
 (0)