Skip to content

Commit 78777bf

Browse files
bugfix(): fix incorrect message (middleware exception, resolve - use)
1 parent 3886e23 commit 78777bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/errors/messages.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ export const UNKNOWN_DEPENDENCIES_MESSAGE = (
6464
export const INVALID_MIDDLEWARE_MESSAGE = (
6565
text: TemplateStringsArray,
6666
name: string,
67-
) => `The middleware doesn't provide the 'resolve' method (${name})`;
67+
) => `The middleware doesn't provide the 'use' method (${name})`;
6868

6969
export const INVALID_MODULE_MESSAGE = (
7070
text: TemplateStringsArray,

0 commit comments

Comments
 (0)