Update the link to migration instructions (#916)
This commit is contained in:
parent
73e9e13580
commit
d740d9b2b1
1 changed files with 2 additions and 1 deletions
|
@ -107,7 +107,8 @@ module.exports = class Application extends Emitter {
|
||||||
if (isGeneratorFunction(fn)) {
|
if (isGeneratorFunction(fn)) {
|
||||||
deprecate('Support for generators will be removed in v3. ' +
|
deprecate('Support for generators will be removed in v3. ' +
|
||||||
'See the documentation for examples of how to convert old middleware ' +
|
'See the documentation for examples of how to convert old middleware ' +
|
||||||
'https://github.com/koajs/koa/tree/v2.x#old-signature-middleware-v1x---deprecated');
|
'https://github.com/koajs/koa/blob/master/Readme.md' +
|
||||||
|
'#old-signature-middleware-v1x---deprecated');
|
||||||
fn = convert(fn);
|
fn = convert(fn);
|
||||||
}
|
}
|
||||||
debug('use %s', fn._name || fn.name || '-');
|
debug('use %s', fn._name || fn.name || '-');
|
||||||
|
|
Loading…
Reference in a new issue