Skip to content

Commit e35d679

Browse files
committed
fixup!
1 parent 0f1e87b commit e35d679

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

packages/cloudflare/src/cli/commands/populate-cache.ts

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -168,11 +168,10 @@ async function populateKVIncrementalCache(
168168

169169
writeFileSync(chunkPath, JSON.stringify(kvMapping));
170170

171-
runWrangler(
172-
options,
173-
["kv bulk put", quoteShellMeta(chunkPath), `--binding ${quoteShellMeta(KV_CACHE_BINDING_NAME)}`],
174-
{ ...populateCacheOptions, logging: "error" }
175-
);
171+
runWrangler(options, ["kv bulk put", quoteShellMeta(chunkPath), `--binding ${KV_CACHE_BINDING_NAME}`], {
172+
...populateCacheOptions,
173+
logging: "error",
174+
});
176175

177176
rmSync(chunkPath);
178177
}
@@ -197,7 +196,7 @@ function populateD1TagCache(
197196
options,
198197
[
199198
"d1 execute",
200-
quoteShellMeta(D1_TAG_BINDING_NAME),
199+
D1_TAG_BINDING_NAME,
201200
`--command "CREATE TABLE IF NOT EXISTS revalidations (tag TEXT NOT NULL, revalidatedAt INTEGER NOT NULL, UNIQUE(tag) ON CONFLICT REPLACE);"`,
202201
],
203202
{ ...populateCacheOptions, logging: "error" }

0 commit comments

Comments
 (0)