Skip to content

Commit 5523463

Browse files
authored
Use version 2.x instead 1.x when not defined
1 parent 18b0d29 commit 5523463

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/src/app/System/HestiaApp.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ public function updateComposer($version)
104104
$this->runUser('v-run-cli-cmd', ["composer", "selfupdate","--$version"]);
105105
}
106106

107-
public function runComposer($args, &$cmd_result=null, $version=1): bool
107+
public function runComposer($args, &$cmd_result=null, $version=2): bool
108108
{
109109
$composer = $this->getUserHomeDir() . DIRECTORY_SEPARATOR . '.composer' . DIRECTORY_SEPARATOR . 'composer';
110110
if (!is_file($composer)) {

0 commit comments

Comments
 (0)