Skip to content

Commit fd4320c

Browse files
Transform backslash into slashes in DOC_FOLDER variable for browser-ui-test
1 parent 2f9fac0 commit fd4320c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/tools/rustdoc-gui/tester.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,8 +201,8 @@ async function main(argv) {
201201
try {
202202
// This is more convenient that setting fields one by one.
203203
const args = [
204-
"--variable", "DOC_PATH", opts["doc_folder"], "--enable-fail-on-js-error",
205-
"--allow-file-access-from-files",
204+
"--variable", "DOC_PATH", opts["doc_folder"].split("\\").join("/"),
205+
"--enable-fail-on-js-error", "--allow-file-access-from-files",
206206
];
207207
if (opts["debug"]) {
208208
debug = true;

0 commit comments

Comments
 (0)