Skip to content

Commit

Permalink
bugfix(): fix incorrect message (middleware exception, resolve - use)
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilmysliwiec committed Mar 26, 2019
1 parent 3886e23 commit 78777bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/errors/messages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export const UNKNOWN_DEPENDENCIES_MESSAGE = (
export const INVALID_MIDDLEWARE_MESSAGE = (
text: TemplateStringsArray,
name: string,
) => `The middleware doesn't provide the 'resolve' method (${name})`;
) => `The middleware doesn't provide the 'use' method (${name})`;

export const INVALID_MODULE_MESSAGE = (
text: TemplateStringsArray,
Expand Down

0 comments on commit 78777bf

Please sign in to comment.