Skip to content

Commit 3b67754

Browse files
committed
[Cleanup] remove log function
1 parent 62b4dc9 commit 3b67754

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

assembly/buffer/index.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ export class Buffer extends Uint8Array {
2929
// @ts-ignore: AssemblyScript treats this statement correctly
3030
if (value instanceof String[]) {
3131
let length = value.length;
32-
log<i32>(length);
3332
let buffer = __alloc(length, idof<ArrayBuffer>());
3433
let sourceStart = value.dataStart;
3534
for (let i = 0; i < length; i++) {
@@ -72,7 +71,6 @@ export class Buffer extends Uint8Array {
7271
result.dataStart = buffer;
7372
result.dataLength = u32(length);
7473
return result;
75-
7674
}
7775
ERROR("Cannot call Buffer.from<T>() where T is not a string, Buffer, ArrayBuffer, Array, or Array-like Object.");
7876
}

0 commit comments

Comments
 (0)