summaryrefslogtreecommitdiffstats
path: root/src/tools/rustdoc-gui/tester.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/rustdoc-gui/tester.js')
-rw-r--r--src/tools/rustdoc-gui/tester.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/rustdoc-gui/tester.js b/src/tools/rustdoc-gui/tester.js
index b26480f66..af1bc05dd 100644
--- a/src/tools/rustdoc-gui/tester.js
+++ b/src/tools/rustdoc-gui/tester.js
@@ -201,8 +201,8 @@ async function main(argv) {
try {
// This is more convenient that setting fields one by one.
const args = [
- "--variable", "DOC_PATH", opts["doc_folder"], "--enable-fail-on-js-error",
- "--allow-file-access-from-files",
+ "--variable", "DOC_PATH", opts["doc_folder"].split("\\").join("/"),
+ "--enable-fail-on-js-error", "--allow-file-access-from-files",
];
if (opts["debug"]) {
debug = true;