mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-18 12:54:52 +08:00
Quiet console output for non --debug mode
This commit is contained in:
parent
ee54b6d347
commit
2c0bb1f7ba
@ -246,6 +246,7 @@ class Downloader
|
|||||||
self::registerCancelEvent($cancel_func);
|
self::registerCancelEvent($cancel_func);
|
||||||
f_passthru(
|
f_passthru(
|
||||||
SPC_GIT_EXEC . ' clone' . $check .
|
SPC_GIT_EXEC . ' clone' . $check .
|
||||||
|
(defined('DEBUG_MODE') ? '' : ' --quiet') .
|
||||||
' --config core.autocrlf=false ' .
|
' --config core.autocrlf=false ' .
|
||||||
"--branch \"{$branch}\" " . (defined('GIT_SHALLOW_CLONE') ? '--depth 1 --single-branch' : '') . " --recursive \"{$url}\" \"{$download_path}\""
|
"--branch \"{$branch}\" " . (defined('GIT_SHALLOW_CLONE') ? '--depth 1 --single-branch' : '') . " --recursive \"{$url}\" \"{$download_path}\""
|
||||||
);
|
);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user