Skip to content

Commit 074aa3b

Browse files
committed
fix message
1 parent 33450bc commit 074aa3b

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

documentation/docs/98-reference/.generated/client-errors.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ This restriction only applies when using the `experimental.async` option, which
149149
### fork_discarded
150150

151151
```
152-
Cannot commit a fork that was already committed or discarded
152+
Cannot commit a fork that was already discarded
153153
```
154154

155155
### fork_timing

packages/svelte/messages/client-errors/errors.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ This restriction only applies when using the `experimental.async` option, which
114114

115115
## fork_discarded
116116

117-
> Cannot commit a fork that was already committed or discarded
117+
> Cannot commit a fork that was already discarded
118118
119119
## fork_timing
120120

packages/svelte/src/internal/client/errors.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -262,12 +262,12 @@ export function flush_sync_in_effect() {
262262
}
263263

264264
/**
265-
* Cannot commit a fork that was already committed or discarded
265+
* Cannot commit a fork that was already discarded
266266
* @returns {never}
267267
*/
268268
export function fork_discarded() {
269269
if (DEV) {
270-
const error = new Error(`fork_discarded\nCannot commit a fork that was already committed or discarded\nhttps://svelte.dev/e/fork_discarded`);
270+
const error = new Error(`fork_discarded\nCannot commit a fork that was already discarded\nhttps://svelte.dev/e/fork_discarded`);
271271

272272
error.name = 'Svelte error';
273273

0 commit comments

Comments
 (0)