Skip to content

Commit 4abe81e

Browse files
Update FuzzedDataProvider.ts
1 parent e219142 commit 4abe81e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/FuzzedDataProvider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ export class FuzzedDataProvider {
383383
encoding: BufferEncoding | undefined = "ascii"
384384
): string {
385385
if (maxLength < 0) throw new Error("maxLength must be non-negative");
386-
var result;
386+
let result;
387387
const arrayLength = Math.min(maxLength, this._remainingBytes);
388388

389389
if (this.printable) {

0 commit comments

Comments
 (0)