We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5b60ac commit f9f339aCopy full SHA for f9f339a
tests/testsuite/support/mod.rs
@@ -791,7 +791,8 @@ impl Execs {
791
pub fn cwd<T: AsRef<OsStr>>(&mut self, path: T) -> &mut Self {
792
if let Some(ref mut p) = self.process_builder {
793
if let Some(cwd) = p.get_cwd() {
794
- p.cwd(cwd.join(path.as_ref()));
+ let new_path = cwd.join(path.as_ref());
795
+ p.cwd(new_path);
796
} else {
797
p.cwd(path);
798
}
0 commit comments