Skip to content

Commit 4d00a1b

Browse files
committed
Fix error message that wasn't using an interpolated string
1 parent 4f00f0f commit 4d00a1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

demo/test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ document.addEventListener('DOMContentLoaded', event => {
399399
}
400400
disasm = lines.join("\n");
401401
} catch (err) {
402-
logger.error("Failed to decode instructions [${hex_word(start_addr)}-${hex_word(end_addr)}]")
402+
logger.error(`Failed to decode instructions [${hex_word(start_addr)}-${hex_word(end_addr)}]`)
403403
}
404404
let disp = document.getElementById("assemblyContents");
405405
disp.textContent = disasm;

0 commit comments

Comments
 (0)