From 2d04be27df2e0d28c0c7f1f360fd372e4e8685cb Mon Sep 17 00:00:00 2001 From: Daniel Kesselberg Date: Sun, 1 Sep 2019 20:46:13 +0200 Subject: [PATCH] Keep cypress if git Signed-off-by: Daniel Kesselberg --- lib/private/Repair/NC16/RemoveCypressFiles.php | 4 ++++ 1 file changed, 4 insertions(+) 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);