Skip to content

Commit 6b31777

Browse files
j-develalexcrichton
authored andcommitted
Fix local webdriver discovery via PATH (#1794)
1 parent 0607a75 commit 6b31777

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/cli/src/bin/wasm-bindgen-test-runner/headless.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ impl Driver {
264264
Some(p) => p,
265265
None => continue,
266266
};
267-
return Ok(ctor(Locate::Local((path.into(), env_args(driver)))));
267+
return Ok(ctor(Locate::Local((driver.into(), env_args(driver)))));
268268
}
269269

270270
// TODO: download an appropriate driver? How to know which one to

0 commit comments

Comments
 (0)