Browse Source
Keep cypress if git
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
pull/16962/head
Daniel Kesselberg
6 years ago
No known key found for this signature in database
GPG Key ID: 36E3664E099D0614
1 changed files with
4 additions and
0 deletions
-
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); |
|
|
|
|