Skip to content

Commit

Permalink
fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
jcubic committed Jan 19, 2021
1 parent 7869895 commit 37e002f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions js/unix_formatting.js
Original file line number Diff line number Diff line change
Expand Up @@ -1193,13 +1193,11 @@
background = output_background;
} else if (output_background === 'transparent') {
background = output_background;
} else if (state.blink && ansi_art) {
background = $.terminal.ansi_colors.bold[output_background];
} else {
if (state.blink && ansi_art) {
background = $.terminal.ansi_colors.bold[output_background];
} else {
// background is not changed by bold flag
background = $.terminal.ansi_colors.normal[output_background];
}
// background is not changed by bold flag
background = $.terminal.ansi_colors.normal[output_background];
}
state.background = output_background;
} else if (state.blink && ansi_art) {
Expand Down Expand Up @@ -1320,7 +1318,9 @@
}
},
inst_E: function(data) {
/* eslint-disable no-console */
console.log(data);
/* eslint-enable no-console */
},
inst_c: function(collected, params, flag) {
var value = params[0] === 0 ? 1 : params[0];
Expand Down

0 comments on commit 37e002f

Please sign in to comment.