aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/src/downloader/vcs_downloader.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe/src/downloader/vcs_downloader.rs')
-rw-r--r--crates/shirabe/src/downloader/vcs_downloader.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/shirabe/src/downloader/vcs_downloader.rs b/crates/shirabe/src/downloader/vcs_downloader.rs
index 05593e5..5e19016 100644
--- a/crates/shirabe/src/downloader/vcs_downloader.rs
+++ b/crates/shirabe/src/downloader/vcs_downloader.rs
@@ -457,7 +457,7 @@ pub trait VcsDownloader:
_update: bool,
) -> Result<Box<dyn PromiseInterface>> {
// the default implementation just fails if there are any changes, override in child classes to provide stash-ability
- if self.get_local_changes(package, path.to_string()).is_some() {
+ if self.get_local_changes(package, path)?.is_some() {
return Err(RuntimeException {
message: format!("Source directory {} has uncommitted changes.", path),
code: 0,