mirror of
https://github.com/wavetermdev/xterm.js.git
synced 2026-08-05 13:43:48 -07:00
I dont think we need () => in front of typeof data === 'string'
This commit is contained in:
@@ -448,7 +448,7 @@ export class InputHandler extends Disposable implements IInputHandler {
|
||||
this._logService.debug(`parsing data ${typeof data === 'string' ? ` "${data}"` : ` "${Array.prototype.map.call(data, e => String.fromCharCode(e)).join('')}"`}`);
|
||||
}
|
||||
if (this._logService.logLevel === LogLevelEnum.TRACE) {
|
||||
this._logService.trace(`parsing data (codes)`, () => typeof data === 'string'
|
||||
this._logService.trace(`parsing data (codes)`, typeof data === 'string'
|
||||
? data.split('').map(e => e.charCodeAt(0))
|
||||
: data
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user