Keep cypress if git
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
This commit is contained in:
parent
caf32d25f8
commit
2d04be27df
|
@ -51,6 +51,10 @@ class RemoveCypressFiles implements IRepairStep {
|
||||||
}
|
}
|
||||||
|
|
||||||
public function run(IOutput $output): void {
|
public function run(IOutput $output): void {
|
||||||
|
if (\OC_Util::getChannel() === 'git') {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
$file = $this->pathToViewerApp . '/cypress.json';
|
$file = $this->pathToViewerApp . '/cypress.json';
|
||||||
if (file_exists($file)) {
|
if (file_exists($file)) {
|
||||||
unlink($file);
|
unlink($file);
|
||||||
|
|
Loading…
Reference in New Issue