aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/src/command/exec_command.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe/src/command/exec_command.rs')
-rw-r--r--crates/shirabe/src/command/exec_command.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/crates/shirabe/src/command/exec_command.rs b/crates/shirabe/src/command/exec_command.rs
index 3f70cf8..824f09e 100644
--- a/crates/shirabe/src/command/exec_command.rs
+++ b/crates/shirabe/src/command/exec_command.rs
@@ -6,6 +6,7 @@ use shirabe_external_packages::symfony::component::console::output::OutputInterf
use shirabe_php_shim::{PhpMixed, RuntimeException, basename, chdir, getcwd, glob};
use crate::command::{BaseCommand, BaseCommandData, HasBaseCommandData};
+use crate::composer::{Composer, PartialComposer};
use crate::console::input::InputArgument;
use crate::console::input::InputOption;
use crate::io::IOInterface;
@@ -87,7 +88,7 @@ impl ExecCommand {
{
let bins = self.get_binaries(true)?;
if bins.is_empty() {
- let bin_dir = crate::command::composer_full_mut(&composer)
+ let bin_dir = crate::command::composer_full(&composer)
.get_config()
.borrow_mut()
.get("bin-dir")
@@ -155,7 +156,7 @@ impl ExecCommand {
fn get_binaries(&mut self, for_display: bool) -> Result<Vec<String>> {
let composer = self.require_composer(None, None)?;
- let composer_ref = crate::command::composer_full_mut(&composer);
+ let composer_ref = crate::command::composer_full(&composer);
let bin_dir = composer_ref
.get_config()
.borrow_mut()