style: remove unnecessary whitespace in packet.ts and basic.test.ts
This commit is contained in:
@@ -21,7 +21,7 @@ export interface OutgoingPacket {
|
||||
export function packOutgoingPacket(outgoingPacket: OutgoingPacket): Uint8Array {
|
||||
// Default to empty data if not provided
|
||||
const data = outgoingPacket.data ?? new Uint8Array(0);
|
||||
|
||||
|
||||
// Verify that the data does not exceed the maximum data length.
|
||||
if (data.length > MAX_DATA_LENGTH) {
|
||||
throw RangeError(
|
||||
|
||||
Reference in New Issue
Block a user