mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-16 23:30:23 +00:00
Change warning to log place first and then link
This commit is contained in:
parent
fd357b4cd2
commit
e389911a35
1 changed files with 1 additions and 1 deletions
|
|
@ -680,7 +680,7 @@ function merge(docs){
|
|||
|
||||
// check links - do they exist ?
|
||||
doc.links.forEach(function(link) {
|
||||
if (!byFullId[link]) console.log('WARNING: Non existing link "' + link + '" in ' + doc.section + '/' + doc.id);
|
||||
if (!byFullId[link]) console.log('WARNING: In ' + doc.section + '/' + doc.id + ', non existing link: "' + link + '"');
|
||||
});
|
||||
|
||||
// merge into parents
|
||||
|
|
|
|||
Loading…
Reference in a new issue