Skip to content

Commit 4bc5823

Browse files
authored
Fix typo in error message (#40)
* Fix typo * Add changeset
1 parent d938e04 commit 4bc5823

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/shiny-houses-care.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@kinobi-so/errors": patch
3+
---
4+
5+
Fix typo in error message

packages/errors/src/messages.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export const KinobiErrorMessages: Readonly<{
3838
}> = {
3939
[KINOBI_ERROR__ANCHOR__ACCOUNT_TYPE_MISSING]: 'Account type [$name] is missing from the IDL types.',
4040
[KINOBI_ERROR__ANCHOR__UNRECOGNIZED_IDL_TYPE]: 'Unrecognized Anchor IDL type [$idlType].',
41-
[KINOBI_ERROR__LINKED_NODE_NOT_FOUND]: 'Could not found linked node [$name] from [$kind].',
41+
[KINOBI_ERROR__LINKED_NODE_NOT_FOUND]: 'Could not find linked node [$name] from [$kind].',
4242
[KINOBI_ERROR__NODE_FILESYSTEM_FUNCTION_UNAVAILABLE]:
4343
'Node.js filesystem function [$fsFunction] is not available in your environment.',
4444
[KINOBI_ERROR__UNEXPECTED_NESTED_NODE_KIND]: 'Expected nested node of kind [$expectedKinds], got [$kind]',

0 commit comments

Comments
 (0)