chore: lint using putout

This commit is contained in:
coderaiser
2021-05-15 01:17:17 +03:00
parent 24f431b290
commit d046e2a77f
17 changed files with 41 additions and 41 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ export class AttachAddon implements ITerminalAddon {
this._socket = socket;
// always set binary type to arraybuffer, we do not handle blobs
this._socket.binaryType = 'arraybuffer';
this._bidirectional = (options && options.bidirectional === false) ? false : true;
this._bidirectional = !(options && options.bidirectional === false);
}
public activate(terminal: Terminal): void {