Skip to content

Commit 0e0c197

Browse files
committed
delete whitespaces
1 parent e505099 commit 0e0c197

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/polyfill/RTCDataChannel.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -72,12 +72,12 @@ export default class RTCDataChannel extends EventTarget implements globalThis.RT
7272
});
7373

7474
this.#dataChannel.onMessage((data) => {
75-
if (ArrayBuffer.isView(data)) {
75+
if (ArrayBuffer.isView(data)) {
7676
if (this.binaryType == 'arraybuffer')
7777
data = data.buffer;
7878
else
79-
data = Buffer.from(data.buffer);
80-
}
79+
data = Buffer.from(data.buffer);
80+
}
8181

8282
this.dispatchEvent(new MessageEvent('message', { data }));
8383
});

0 commit comments

Comments
 (0)