Use template strings.

This commit is contained in:
Jordan Eldredge 2017-06-27 20:53:07 -07:00
parent 4202fd351b
commit f730ee26aa

View file

@ -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;