Skip to content

Commit b2c7b7b

Browse files
committed
fix: display file name in overlay
1 parent 84df3d4 commit b2c7b7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client-src/overlay.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ function show(messages, type) {
131131
const entryElement = document.createElement("div");
132132
const typeElement = document.createElement("span");
133133

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

137137
// Make it look similar to our terminal.

0 commit comments

Comments
 (0)