From 04ce45e0f19491cbb6d8d172a74725f45286ce29 Mon Sep 17 00:00:00 2001 From: michele Date: Mon, 30 Mar 2026 16:00:36 +0000 Subject: [PATCH] Supporto Modifiche: fix cleanup worktree sync Git --- app/Console/Commands/NetgesconGitSyncCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Console/Commands/NetgesconGitSyncCommand.php b/app/Console/Commands/NetgesconGitSyncCommand.php index 8a16a5d..b6c92d0 100644 --- a/app/Console/Commands/NetgesconGitSyncCommand.php +++ b/app/Console/Commands/NetgesconGitSyncCommand.php @@ -134,7 +134,7 @@ public function handle(): int return self::FAILURE; } - $cleanupWorktree = static function () use ($repoPath, $worktreePath): void { + $cleanupWorktree = function () use ($repoPath, $worktreePath): void { Process::path($repoPath)->timeout(1800)->run($this->gitCommandArgs($repoPath, ['worktree', 'remove', '--force', $worktreePath])); if (is_dir($worktreePath)) { File::deleteDirectory($worktreePath);