Skip to content

Commit

Permalink
Update the link to migration instructions (koajs#916)
Browse files Browse the repository at this point in the history
  • Loading branch information
ilkkao authored and dead-horse committed Feb 26, 2017
1 parent 73e9e13 commit d740d9b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/application.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,8 @@ module.exports = class Application extends Emitter {
if (isGeneratorFunction(fn)) {
deprecate('Support for generators will be 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---deprecated');
'https://github.com/koajs/koa/blob/master/Readme.md' +
'#old-signature-middleware-v1x---deprecated');
fn = convert(fn);
}
debug('use %s', fn._name || fn.name || '-');
Expand Down

0 comments on commit d740d9b

Please sign in to comment.