From f730ee26aa61016ace4641e6a87674765ce2739a Mon Sep 17 00:00:00 2001 From: Jordan Eldredge Date: Tue, 27 Jun 2017 20:53:07 -0700 Subject: [PATCH] Use template strings. --- js/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/utils.js b/js/utils.js index f459f791..f94c763e 100644 --- a/js/utils.js +++ b/js/utils.js @@ -33,7 +33,7 @@ export const parseViscolors = text => { if (matches) { colors[i] = `rgb(${matches.slice(1, 4).join(",")})`; } else { - console.error("Error in VISCOLOR.TXT on line", i); + console.error(`Error in VISCOLOR.TXT on line ${i}`); } } return colors;