Skip to content

Commit dad26af

Browse files
chore(migrate): Print blog post link when warning about package migration
1 parent 1a416a3 commit dad26af

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

migrate/migratewarn.js

+2
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,7 @@ var migrate = require('./migrate.json');
66

77
if (pkg.name === migrate.old) {
88
var warning = 'WARNING! this npm package "' + migrate.old + '" has moved to "' + migrate.new + '". Please update your package.json';
9+
var warning2 = 'WARNING! See https://ui-router.github.io/blog/uirouter-scoped-packages/ for details';;
910
console.log("\x1b[1m\x1b[37m\x1b[41m%s\x1b[0m", warning);
11+
console.log("\x1b[1m\x1b[37m\x1b[41m%s\x1b[0m", warning2);
1012
}

0 commit comments

Comments
 (0)