Skip to content

Commit

Permalink
fix(core/biblio): template string (closes #1091)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoscaceres authored and Marcos Cáceres committed Feb 17, 2017
1 parent 418563c commit 886e8dc
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/core/biblio.js
Expand Up @@ -135,8 +135,9 @@ function bibref(conf) {
}
for (var k in aliases) {
if (aliases[k].length > 1) {
let msg = `[${k}] is referenced in ${aliases[k].length} ways ({$aliases[k].join(", ")}).`;
msg += "This causes duplicate entries in the reference section.";
let msg = `[${k}] is referenced in ${aliases[k].length} ways: `;
msg += `(${$aliases[k].map(item => `'${item}'`).join(", ")}). This causes`;
msg += `duplicate entries in the reference section.`;
pub("warn", msg);
}
}
Expand Down

0 comments on commit 886e8dc

Please sign in to comment.