Skip to content

Commit 57d2c86

Browse files
refactor: remove unused method
1 parent a2f3f5a commit 57d2c86

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

lib/util.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import { randomBytes } from "crypto";
2-
31
export function hasBinary(obj: any, toJSON?: boolean): boolean {
42
if (!obj || typeof obj !== "object") {
53
return false;
@@ -31,10 +29,6 @@ export function hasBinary(obj: any, toJSON?: boolean): boolean {
3129
return false;
3230
}
3331

34-
export function randomId() {
35-
return randomBytes(8).toString("hex");
36-
}
37-
3832
/**
3933
* Whether the client comes from the `redis` package
4034
*

0 commit comments

Comments
 (0)