aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/src/downloader/fossil_downloader.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe/src/downloader/fossil_downloader.rs')
-rw-r--r--crates/shirabe/src/downloader/fossil_downloader.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/shirabe/src/downloader/fossil_downloader.rs b/crates/shirabe/src/downloader/fossil_downloader.rs
index ab98168..26a0987 100644
--- a/crates/shirabe/src/downloader/fossil_downloader.rs
+++ b/crates/shirabe/src/downloader/fossil_downloader.rs
@@ -43,7 +43,7 @@ impl FossilDownloader {
.inner
.process
.borrow_mut()
- .execute(&command, output, cwd)?
+ .execute(&command, output, cwd.as_deref())?
!= 0
{
return Err(RuntimeException {
@@ -271,7 +271,7 @@ impl ChangeReportInterface for FossilDownloader {
self.inner.process.borrow_mut().execute_args(
&["fossil".to_string(), "changes".to_string()],
&mut output,
- shirabe_php_shim::realpath(path),
+ shirabe_php_shim::realpath(path).as_deref(),
);
let output = output.trim().to_string();