Skip to content

Commit

Permalink
chore: correct typo in index.js error (#1204)
Browse files Browse the repository at this point in the history
thanks to @jshufro for the patch!
  • Loading branch information
jshufro authored Nov 29, 2023
1 parent d4a2288 commit f54b343
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/did-mailto/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ function parseEmail(email) {
const atParts = email.split('@')
if (atParts.length < 2) {
throw new TypeError(
`expected at least 2 @-delimtied segments, but got ${atParts.length}`
`expected at least 2 @-delimited segments, but got ${atParts.length}`
)
}
const domain = atParts.at(-1) ?? ''
Expand Down

0 comments on commit f54b343

Please sign in to comment.