Updated \ncc\Classes > GitClient > cloneRepositor() to clone submodules recursively by default

This commit is contained in:
Netkas 2023-07-11 19:20:11 -04:00
parent 2fb56d3543
commit 05d05e33b1
No known key found for this signature in database
GPG key ID: 5DAF58535614062B
2 changed files with 2 additions and 1 deletions

View file

@ -44,7 +44,7 @@ namespace ncc\Classes;
{
Console::outVerbose('Cloning repository: ' . $url);
$path = Functions::getTmpDir();
$process = new Process(["git", "clone", $url, $path]);
$process = new Process(["git", "clone", "--recurse-submodules", $url, $path]);
$process->setTimeout(3600); // 1 hour
$process->run(function ($type, $buffer)
{