Keep cypress if git

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
This commit is contained in:
Daniel Kesselberg 2019-09-01 20:46:13 +02:00
parent caf32d25f8
commit 2d04be27df
No known key found for this signature in database
GPG Key ID: 36E3664E099D0614
1 changed files with 4 additions and 0 deletions

View File

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