Browse Source

Keep cypress if git

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
pull/16962/head
Daniel Kesselberg 6 years ago
parent
commit
2d04be27df
No known key found for this signature in database GPG Key ID: 36E3664E099D0614
  1. 4
      lib/private/Repair/NC16/RemoveCypressFiles.php

4
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);

Loading…
Cancel
Save