diff --git a/lib/private/Repair/NC16/RemoveCypressFiles.php b/lib/private/Repair/NC16/RemoveCypressFiles.php index 4b6108d023..400d822b97 100644 --- a/lib/private/Repair/NC16/RemoveCypressFiles.php +++ b/lib/private/Repair/NC16/RemoveCypressFiles.php @@ -51,6 +51,10 @@ class RemoveCypressFiles implements IRepairStep { } public function run(IOutput $output): void { + if (\OC_Util::getChannel() === 'git') { + return; + } + $file = $this->pathToViewerApp . '/cypress.json'; if (file_exists($file)) { unlink($file);