Skip to content

Commit

Permalink
fix: display file name in overlay
Browse files Browse the repository at this point in the history
  • Loading branch information
githoniel committed Sep 22, 2021
1 parent 84df3d4 commit b2c7b7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client-src/overlay.js
Expand Up @@ -131,7 +131,7 @@ function show(messages, type) {
const entryElement = document.createElement("div");
const typeElement = document.createElement("span");

typeElement.innerText = type === "warnings" ? "Warning:" : "Error:";
typeElement.innerText = (type === "warnings" ? "Warning:" : "Error:") + message.file || '';
typeElement.style.color = `#${colors.red}`;

// Make it look similar to our terminal.
Expand Down

0 comments on commit b2c7b7b

Please sign in to comment.