diff options
Diffstat (limited to 'crates/shirabe/src/downloader/hg_downloader.rs')
| -rw-r--r-- | crates/shirabe/src/downloader/hg_downloader.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crates/shirabe/src/downloader/hg_downloader.rs b/crates/shirabe/src/downloader/hg_downloader.rs index 16a78a0..650746b 100644 --- a/crates/shirabe/src/downloader/hg_downloader.rs +++ b/crates/shirabe/src/downloader/hg_downloader.rs @@ -114,7 +114,7 @@ impl VcsDownloader for HgDownloader { if self.inner.process.borrow_mut().execute_args( &command, &mut ignored_output, - shirabe_php_shim::realpath(path), + shirabe_php_shim::realpath(path).as_deref(), ) != 0 { return Err(RuntimeException { @@ -201,7 +201,7 @@ impl VcsDownloader for HgDownloader { if self.inner.process.borrow_mut().execute_args( &command, &mut output, - shirabe_php_shim::realpath(path), + shirabe_php_shim::realpath(path).as_deref(), ) != 0 { return Err(RuntimeException { @@ -237,7 +237,7 @@ impl ChangeReportInterface for HgDownloader { self.inner.process.borrow_mut().execute_args( &["hg".to_string(), "st".to_string()], &mut output, - shirabe_php_shim::realpath(path), + shirabe_php_shim::realpath(path).as_deref(), ); let output = output.trim().to_string(); |
