Skip to content

Commit fa77825

Browse files
committed
Formatting
1 parent 011b58d commit fa77825

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/common/services/OptionsService.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ describe('OptionsService', () => {
1010
describe('constructor', () => {
1111
const originalError = console.error;
1212
beforeEach(() => {
13-
console.error = () => { };
13+
console.error = () => {};
1414
});
1515
afterEach(() => {
1616
console.error = originalError;
@@ -26,7 +26,7 @@ describe('OptionsService', () => {
2626
assert.equal(optionsService.getOption('cols'), 80);
2727
});
2828
it('uses default value if invalid constructor option value passed', () => {
29-
assert.equal(new OptionsService({ tabStopWidth: 0 }).getOption('tabStopWidth'), DEFAULT_OPTIONS.tabStopWidth);
29+
assert.equal(new OptionsService({tabStopWidth: 0}).getOption('tabStopWidth'), DEFAULT_OPTIONS.tabStopWidth);
3030
});
3131
});
3232
describe('setOption', () => {

src/common/services/OptionsService.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export const DEFAULT_OPTIONS: ITerminalOptions = Object.freeze({
2222
cursorStyle: 'block',
2323
cursorWidth: 1,
2424
customGlyphs: true,
25-
bellSound: DEFAULT_BELL_SOUND,
25+
bellSound: DEFAULT_BELL_SOUND,
2626
bellStyle: 'none',
2727
drawBoldTextInBrightColors: true,
2828
fastScrollModifier: 'alt',
@@ -128,7 +128,7 @@ export class OptionsService implements IOptionsService {
128128
break;
129129
case 'cursorWidth':
130130
value = Math.floor(value);
131-
// Fall through for bounds check
131+
// Fall through for bounds check
132132
case 'lineHeight':
133133
case 'tabStopWidth':
134134
if (value < 1) {

0 commit comments

Comments
 (0)