Skip to content

Commit 7897f26

Browse files
fix formatting
1 parent a4c96ef commit 7897f26

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

packages/miniflare/src/workers/kv/namespace.worker.ts

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -104,10 +104,13 @@ async function processKeyValue(
104104
);
105105
}
106106
if (val && withMetadata) {
107-
return [{
108-
value: val,
109-
metadata: obj?.metadata ?? null,
110-
}, size];
107+
return [
108+
{
109+
value: val,
110+
metadata: obj?.metadata ?? null,
111+
},
112+
size,
113+
];
111114
}
112115
return [val, size];
113116
}
@@ -152,7 +155,6 @@ export class KVNamespaceObject extends MiniflareDurableObject {
152155
);
153156
totalBytes += size;
154157
obj[key] = value;
155-
156158
}
157159
const maxValueSize = this.beingTested
158160
? KVLimits.MAX_VALUE_SIZE_TEST

0 commit comments

Comments
 (0)