Skip to content

Commit

Permalink
chore: fix typo in error message (#9645)
Browse files Browse the repository at this point in the history
  • Loading branch information
zokioki committed Aug 12, 2022
1 parent 73ad707 commit 7121ee0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vite/src/node/plugins/importMetaGlob.ts
Expand Up @@ -485,7 +485,7 @@ export async function toAbsoluteGlob(
if (isAbsolute(resolved)) return pre + resolved

throw new Error(
`Invalid glob: "${glob}" (resolved: "${resolved}"). It must starts with '/' or './'`
`Invalid glob: "${glob}" (resolved: "${resolved}"). It must start with '/' or './'`
)
}

Expand Down

0 comments on commit 7121ee0

Please sign in to comment.