Skip to content

Commit

Permalink
Increased timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
LuanHimmlisch committed Dec 31, 2024
1 parent c9a1e05 commit 74ca063
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/Commands/CleanCode.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

class CleanCode extends Command
{
public $signature = 'clean:code
public $signature = 'clean:code
{--no-commit : Don\'t execute git commit}';
public $description = 'Execute the code standards';

Expand Down Expand Up @@ -59,7 +59,8 @@ private function commit($name)

private function exec(string $command, array $args = []): bool
{
$process = Process::fromShellCommandline($command, base_path(), [...$_ENV, ...$args]);
$process = Process::fromShellCommandline($command, base_path(), [...$_ENV, ...$args])
->setTimeout(60 * 5);

$process->run();

Expand Down

0 comments on commit 74ca063

Please sign in to comment.