diff options
Diffstat (limited to 'crates/shirabe/src/package/comparer/comparer.rs')
| -rw-r--r-- | crates/shirabe/src/package/comparer/comparer.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/shirabe/src/package/comparer/comparer.rs b/crates/shirabe/src/package/comparer/comparer.rs index 0e0d295..8f406a5 100644 --- a/crates/shirabe/src/package/comparer/comparer.rs +++ b/crates/shirabe/src/package/comparer/comparer.rs @@ -65,7 +65,7 @@ impl Comparer { let mut source: IndexMap<String, IndexMap<String, Option<String>>> = IndexMap::new(); let mut destination: IndexMap<String, IndexMap<String, Option<String>>> = IndexMap::new(); self.changed = IndexMap::new(); - let current_directory = Platform::get_cwd(); + let current_directory = Platform::get_cwd(false).unwrap_or_default(); shirabe_php_shim::chdir(&self.source); if !Self::do_tree(".", &mut source) { return; |
