aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/src/util/bitbucket.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe/src/util/bitbucket.rs')
-rw-r--r--crates/shirabe/src/util/bitbucket.rs7
1 files changed, 3 insertions, 4 deletions
diff --git a/crates/shirabe/src/util/bitbucket.rs b/crates/shirabe/src/util/bitbucket.rs
index 8a1127a..bba16e8 100644
--- a/crates/shirabe/src/util/bitbucket.rs
+++ b/crates/shirabe/src/util/bitbucket.rs
@@ -1,16 +1,15 @@
//! ref: composer/src/Composer/Util/Bitbucket.php
-use crate::io::io_interface;
-use indexmap::IndexMap;
-use shirabe_php_shim::{LogicException, PhpMixed, time};
-
use crate::config::Config;
use crate::downloader::TransportException;
use crate::factory::Factory;
use crate::io::IOInterface;
use crate::io::IOInterfaceImmutable;
+use crate::io::io_interface;
use crate::util::HttpDownloader;
use crate::util::ProcessExecutor;
+use indexmap::IndexMap;
+use shirabe_php_shim::{LogicException, PhpMixed, time};
fn transport_error_code(err: &anyhow::Error) -> Option<i64> {
err.downcast_ref::<TransportException>().map(|te| te.code)