Skip to content

Commit

Permalink
Fix local webdriver discovery via PATH (#1794)
Browse files Browse the repository at this point in the history
  • Loading branch information
j-devel authored and alexcrichton committed Sep 26, 2019
1 parent 0607a75 commit 6b31777
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/cli/src/bin/wasm-bindgen-test-runner/headless.rs
Expand Up @@ -264,7 +264,7 @@ impl Driver {
Some(p) => p,
None => continue,
};
return Ok(ctor(Locate::Local((path.into(), env_args(driver)))));
return Ok(ctor(Locate::Local((driver.into(), env_args(driver)))));
}

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

0 comments on commit 6b31777

Please sign in to comment.