Skip to content

Commit

Permalink
Remove b64test function which makes eslint/tslint angry
Browse files Browse the repository at this point in the history
  • Loading branch information
dpup committed Aug 1, 2024
1 parent 131dbd5 commit 9b8776d
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions generator/fetch_tmpl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,13 +104,6 @@ export function b64Decode(s: string): Uint8Array {
return new Uint8Array(buffer);
}

// eslint-disable-next-line @typescript-eslint/no-unused-vars
function b64Test(s: string): boolean {
return /^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/.test(
s
);
}

export interface InitReq extends RequestInit {
pathPrefix?: string;
}
Expand Down

0 comments on commit 9b8776d

Please sign in to comment.