Skip to content

Commit a5f86ec

Browse files
Format getLayer signature with prettier
pnpm format:check was failing on this branch because the getLayer signature was wrapped across multiple lines where prettier wants it on one. Co-authored-by: Fang-Pen Lin <hello@fangpenlin.com>
1 parent 5c161d4 commit a5f86ec

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

src/registry/r2.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -701,11 +701,7 @@ export class R2Registry implements Registry {
701701
};
702702
}
703703

704-
async getLayer(
705-
name: string,
706-
digest: string,
707-
range?: BlobRangeRequest,
708-
): Promise<RegistryError | GetLayerResponse> {
704+
async getLayer(name: string, digest: string, range?: BlobRangeRequest): Promise<RegistryError | GetLayerResponse> {
709705
const key = `${name}/blobs/${digest}`;
710706

711707
if (range === undefined) {

0 commit comments

Comments
 (0)