From 5ec5a762e9a6cd2369c02211f38ada9a55e1d12b Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Fri, 13 May 2022 17:05:17 +0200 Subject: [PATCH] Emit an error if there is a JS failure on rustdoc pages --- src/tools/rustdoc-gui/tester.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tools/rustdoc-gui/tester.js b/src/tools/rustdoc-gui/tester.js index d75884567af..8532410a1bf 100644 --- a/src/tools/rustdoc-gui/tester.js +++ b/src/tools/rustdoc-gui/tester.js @@ -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;