Transform backslash into slashes in DOC_FOLDER variable for browser-ui-test
This commit is contained in:
parent
2f9fac024c
commit
fd4320ca07
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user