Skip to content

Commit

Permalink
Fix broken error reference in errors.ts (#2644)
Browse files Browse the repository at this point in the history
* Update errors.ts

Fix broken error reference

* Create calm-camels-learn.md

Co-authored-by: Daniel K <[email protected]>
  • Loading branch information
rokoroku and FredyC authored Nov 25, 2020
1 parent 989390d commit 6b30423
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/calm-camels-learn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"mobx": patch
---

Fix broken error reference in errors.ts
2 changes: 1 addition & 1 deletion packages/mobx/src/errors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export function die(error: string | keyof typeof errors, ...args: any[]): never
typeof error === "number"
? `[MobX] minified error nr: ${error}${
args.length ? " " + args.join(",") : ""
}. Find the full error at: https://github.com/mobxjs/mobx/blob/mobx6/src/errors.ts`
}. Find the full error at: https://github.com/mobxjs/mobx/blob/main/packages/mobx/src/errors.ts`
: `[MobX] ${error}`
)
}

0 comments on commit 6b30423

Please sign in to comment.