fix message

pull/17034/head
Rich Harris 4 days ago
parent 33450bc075
commit 074aa3ba0c

@ -149,7 +149,7 @@ This restriction only applies when using the `experimental.async` option, which
### fork_discarded ### fork_discarded
``` ```
Cannot commit a fork that was already committed or discarded Cannot commit a fork that was already discarded
``` ```
### fork_timing ### fork_timing

@ -114,7 +114,7 @@ This restriction only applies when using the `experimental.async` option, which
## fork_discarded ## fork_discarded
> Cannot commit a fork that was already committed or discarded > Cannot commit a fork that was already discarded
## fork_timing ## fork_timing

@ -262,12 +262,12 @@ export function flush_sync_in_effect() {
} }
/** /**
* Cannot commit a fork that was already committed or discarded * Cannot commit a fork that was already discarded
* @returns {never} * @returns {never}
*/ */
export function fork_discarded() { export function fork_discarded() {
if (DEV) { if (DEV) {
const error = new Error(`fork_discarded\nCannot commit a fork that was already committed or discarded\nhttps://svelte.dev/e/fork_discarded`); const error = new Error(`fork_discarded\nCannot commit a fork that was already discarded\nhttps://svelte.dev/e/fork_discarded`);
error.name = 'Svelte error'; error.name = 'Svelte error';

Loading…
Cancel
Save