Emit an error if there is a JS failure on rustdoc pages
This commit is contained in:
parent
a50ad35dda
commit
5ec5a762e9
@ -138,7 +138,7 @@ async function main(argv) {
|
||||
try {
|
||||
// This is more convenient that setting fields one by one.
|
||||
let args = [
|
||||
"--variable", "DOC_PATH", opts["doc_folder"],
|
||||
"--variable", "DOC_PATH", opts["doc_folder"], "--enable-fail-on-js-error",
|
||||
];
|
||||
if (opts["debug"]) {
|
||||
debug = true;
|
||||
|
Loading…
Reference in New Issue
Block a user