Skip to content

Commit 94f1580

Browse files
authored
Fix persistance -> persistence (#3790)
1 parent 18dc7b5 commit 94f1580

File tree

3 files changed

+17
-17
lines changed

3 files changed

+17
-17
lines changed

packages/wrangler/src/__tests__/kv.test.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -570,7 +570,7 @@ describe("wrangler", () => {
570570
--metadata Arbitrary JSON that is associated with a key [string]
571571
--path Read value from the file at a given path [string]
572572
--local Interact with local storage [boolean]
573-
--persist-to Directory for local persistance [string]"
573+
--persist-to Directory for local persistence [string]"
574574
`);
575575
expect(std.err).toMatchInlineSnapshot(`
576576
"X [ERROR] Not enough non-option arguments: got 0, need at least 1
@@ -612,7 +612,7 @@ describe("wrangler", () => {
612612
--metadata Arbitrary JSON that is associated with a key [string]
613613
--path Read value from the file at a given path [string]
614614
--local Interact with local storage [boolean]
615-
--persist-to Directory for local persistance [string]"
615+
--persist-to Directory for local persistence [string]"
616616
`);
617617
expect(std.err).toMatchInlineSnapshot(`
618618
"X [ERROR] Exactly one of the arguments binding and namespace-id is required
@@ -654,7 +654,7 @@ describe("wrangler", () => {
654654
--metadata Arbitrary JSON that is associated with a key [string]
655655
--path Read value from the file at a given path [string]
656656
--local Interact with local storage [boolean]
657-
--persist-to Directory for local persistance [string]"
657+
--persist-to Directory for local persistence [string]"
658658
`);
659659
expect(std.err).toMatchInlineSnapshot(`
660660
"X [ERROR] Arguments binding and namespace-id are mutually exclusive
@@ -696,7 +696,7 @@ describe("wrangler", () => {
696696
--metadata Arbitrary JSON that is associated with a key [string]
697697
--path Read value from the file at a given path [string]
698698
--local Interact with local storage [boolean]
699-
--persist-to Directory for local persistance [string]"
699+
--persist-to Directory for local persistence [string]"
700700
`);
701701
expect(std.err).toMatchInlineSnapshot(`
702702
"X [ERROR] Exactly one of the arguments value and path is required
@@ -738,7 +738,7 @@ describe("wrangler", () => {
738738
--metadata Arbitrary JSON that is associated with a key [string]
739739
--path Read value from the file at a given path [string]
740740
--local Interact with local storage [boolean]
741-
--persist-to Directory for local persistance [string]"
741+
--persist-to Directory for local persistence [string]"
742742
`);
743743
expect(std.err).toMatchInlineSnapshot(`
744744
"X [ERROR] Arguments value and path are mutually exclusive
@@ -1114,7 +1114,7 @@ describe("wrangler", () => {
11141114
--preview Interact with a preview namespace [boolean] [default: false]
11151115
--text Decode the returned value as a utf8 string [boolean] [default: false]
11161116
--local Interact with local storage [boolean]
1117-
--persist-to Directory for local persistance [string]"
1117+
--persist-to Directory for local persistence [string]"
11181118
`);
11191119
expect(std.err).toMatchInlineSnapshot(`
11201120
"X [ERROR] Not enough non-option arguments: got 0, need at least 1
@@ -1151,7 +1151,7 @@ describe("wrangler", () => {
11511151
--preview Interact with a preview namespace [boolean] [default: false]
11521152
--text Decode the returned value as a utf8 string [boolean] [default: false]
11531153
--local Interact with local storage [boolean]
1154-
--persist-to Directory for local persistance [string]"
1154+
--persist-to Directory for local persistence [string]"
11551155
`);
11561156
expect(std.err).toMatchInlineSnapshot(`
11571157
"X [ERROR] Exactly one of the arguments binding and namespace-id is required
@@ -1189,7 +1189,7 @@ describe("wrangler", () => {
11891189
--preview Interact with a preview namespace [boolean] [default: false]
11901190
--text Decode the returned value as a utf8 string [boolean] [default: false]
11911191
--local Interact with local storage [boolean]
1192-
--persist-to Directory for local persistance [string]"
1192+
--persist-to Directory for local persistence [string]"
11931193
`);
11941194
expect(std.err).toMatchInlineSnapshot(`
11951195
"X [ERROR] Arguments binding and namespace-id are mutually exclusive

packages/wrangler/src/kv/index.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ export const kvKey = (kvYargs: CommonYargsArgv) => {
235235
})
236236
.option("persist-to", {
237237
type: "string",
238-
describe: "Directory for local persistance",
238+
describe: "Directory for local persistence",
239239
})
240240
.check(demandOneOfOption("value", "path"));
241241
},
@@ -332,7 +332,7 @@ export const kvKey = (kvYargs: CommonYargsArgv) => {
332332
})
333333
.option("persist-to", {
334334
type: "string",
335-
describe: "Directory for local persistance",
335+
describe: "Directory for local persistence",
336336
});
337337
},
338338
async ({ prefix, ...args }) => {
@@ -410,7 +410,7 @@ export const kvKey = (kvYargs: CommonYargsArgv) => {
410410
})
411411
.option("persist-to", {
412412
type: "string",
413-
describe: "Directory for local persistance",
413+
describe: "Directory for local persistence",
414414
});
415415
},
416416
async ({ key, ...args }) => {
@@ -486,7 +486,7 @@ export const kvKey = (kvYargs: CommonYargsArgv) => {
486486
})
487487
.option("persist-to", {
488488
type: "string",
489-
describe: "Directory for local persistance",
489+
describe: "Directory for local persistence",
490490
});
491491
},
492492
async ({ key, ...args }) => {
@@ -552,7 +552,7 @@ export const kvBulk = (kvYargs: CommonYargsArgv) => {
552552
})
553553
.option("persist-to", {
554554
type: "string",
555-
describe: "Directory for local persistance",
555+
describe: "Directory for local persistence",
556556
});
557557
},
558558
async ({ filename, ...args }) => {
@@ -681,7 +681,7 @@ export const kvBulk = (kvYargs: CommonYargsArgv) => {
681681
})
682682
.option("persist-to", {
683683
type: "string",
684-
describe: "Directory for local persistance",
684+
describe: "Directory for local persistence",
685685
});
686686
},
687687
async ({ filename, ...args }) => {

packages/wrangler/src/r2/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export function r2(r2Yargs: CommonYargsArgv) {
5959
})
6060
.option("persist-to", {
6161
type: "string",
62-
describe: "Directory for local persistance",
62+
describe: "Directory for local persistence",
6363
});
6464
},
6565
async (objectGetYargs) => {
@@ -171,7 +171,7 @@ export function r2(r2Yargs: CommonYargsArgv) {
171171
})
172172
.option("persist-to", {
173173
type: "string",
174-
describe: "Directory for local persistance",
174+
describe: "Directory for local persistence",
175175
});
176176
},
177177
async (objectPutYargs) => {
@@ -276,7 +276,7 @@ export function r2(r2Yargs: CommonYargsArgv) {
276276
})
277277
.option("persist-to", {
278278
type: "string",
279-
describe: "Directory for local persistance",
279+
describe: "Directory for local persistence",
280280
});
281281
},
282282
async (args) => {

0 commit comments

Comments
 (0)