diff options
Diffstat (limited to 'crates/shirabe/src/util/zip.rs')
| -rw-r--r-- | crates/shirabe/src/util/zip.rs | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/crates/shirabe/src/util/zip.rs b/crates/shirabe/src/util/zip.rs index 9c9135d..d76d805 100644 --- a/crates/shirabe/src/util/zip.rs +++ b/crates/shirabe/src/util/zip.rs @@ -2,7 +2,9 @@ use anyhow::Result; use indexmap::IndexMap; -use shirabe_php_shim::{dirname, extension_loaded, implode, stream_get_contents, RuntimeException, ZipArchive}; +use shirabe_php_shim::{ + RuntimeException, ZipArchive, dirname, extension_loaded, implode, stream_get_contents, +}; pub struct Zip; @@ -101,8 +103,9 @@ impl Zip { } Err(RuntimeException { - message: "No composer.json found either at the top level or within the topmost directory" - .to_string(), + message: + "No composer.json found either at the top level or within the topmost directory" + .to_string(), code: 0, } .into()) |
