Skip to content

Commit fc524cf

Browse files
committed
improve code
Signed-off-by: Kevin Cui <bh@bugs.cc>
1 parent b409e51 commit fc524cf

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

src/operator/get-range.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { Buffer } from "node:buffer";
55
import { buildFilter } from "../builder/filter";
66
import { OTS_API_NAME } from "../const";
77
import { builder } from "../pb/builder";
8-
import { decodePlainBuffer, encodePlainBuffer, VariantType } from "../plainbuffer";
8+
import { decodePlainBuffer, encodePlainBuffer } from "../plainbuffer";
99
import { fixPlainBufferCellType } from "../utils";
1010

1111
export const ProtoGetRangeRequest = builder.lookupType("ots.GetRangeRequest");

src/plainbuffer.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import { INF_MAX, INF_MIN } from "./const";
2-
31
// FROM: https://github.com/waynecraig/plainbuffer
42
const HEADER = 0x75;
53

0 commit comments

Comments
 (0)