mirror of
https://github.com/nextcloud/server.git
synced 2026-02-20 00:12:30 -05:00
Keep cypress if git
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
This commit is contained in:
parent
caf32d25f8
commit
2d04be27df
1 changed files with 4 additions and 0 deletions
|
|
@ -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…
Reference in a new issue