aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/src/util/github.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe/src/util/github.rs')
-rw-r--r--crates/shirabe/src/util/github.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/crates/shirabe/src/util/github.rs b/crates/shirabe/src/util/github.rs
index c04873f..5fa88a6 100644
--- a/crates/shirabe/src/util/github.rs
+++ b/crates/shirabe/src/util/github.rs
@@ -1,6 +1,7 @@
//! ref: composer/src/Composer/Util/GitHub.php
use crate::io::io_interface;
+use indexmap::IndexMap;
use shirabe_external_packages::composer::pcre::preg::Preg;
use shirabe_php_shim::{PhpMixed, date, stripos, strtolower};
@@ -32,7 +33,7 @@ impl GitHub {
let process = process.unwrap_or_else(|| ProcessExecutor::new(&*io));
let http_downloader = match http_downloader {
Some(h) => h,
- None => Factory::create_http_downloader(&*io, &config)?,
+ None => Factory::create_http_downloader(&*io, &config, IndexMap::new())?,
};
Ok(Self {
io,