Emit an error if there is a JS failure on rustdoc pages

This commit is contained in:
Guillaume Gomez 2022-05-13 17:05:17 +02:00
parent a50ad35dda
commit 5ec5a762e9

View File

@ -138,7 +138,7 @@ async function main(argv) {
try { try {
// This is more convenient that setting fields one by one. // This is more convenient that setting fields one by one.
let args = [ let args = [
"--variable", "DOC_PATH", opts["doc_folder"], "--variable", "DOC_PATH", opts["doc_folder"], "--enable-fail-on-js-error",
]; ];
if (opts["debug"]) { if (opts["debug"]) {
debug = true; debug = true;