parent
b16d24ecb8
commit
d47d0f9619
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ module.exports = class Application extends Emitter {
|
|||
if (isGeneratorFunction(fn)) {
|
||||
deprecate('Support for generators will been removed in v3. ' +
|
||||
'See the documentation for examples of how to convert old middleware ' +
|
||||
'https://github.com/koajs/koa/tree/v2.x#old-signature-middleware-v1x');
|
||||
'https://github.com/koajs/koa/tree/v2.x#old-signature-middleware-v1x---deprecated');
|
||||
fn = convert(fn);
|
||||
}
|
||||
debug('use %s', fn._name || fn.name || '-');
|
||||
|
|
Loading…
Reference in a new issue