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 {
|
try {
|
||||||
// This is more convenient that setting fields one by one.
|
// This is more convenient that setting fields one by one.
|
||||||
const args = [
|
const args = [
|
||||||
"--variable", "DOC_PATH", opts["doc_folder"], "--enable-fail-on-js-error",
|
"--variable", "DOC_PATH", opts["doc_folder"].split("\\").join("/"),
|
||||||
"--allow-file-access-from-files",
|
"--enable-fail-on-js-error", "--allow-file-access-from-files",
|
||||||
];
|
];
|
||||||
if (opts["debug"]) {
|
if (opts["debug"]) {
|
||||||
debug = true;
|
debug = true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user