remove unnecessary else
parent
56f4625ec8
commit
2a2bb6aad6
|
@ -103,10 +103,10 @@ class GitDownloader extends VcsDownloader
|
|||
case 'stash':
|
||||
if (!$update) {
|
||||
return parent::cleanChanges($path, $update);
|
||||
} else {
|
||||
return $this->stashChanges($path);
|
||||
}
|
||||
|
||||
return $this->stashChanges($path);
|
||||
|
||||
case 'false':
|
||||
default:
|
||||
return parent::cleanChanges($path, $update);
|
||||
|
|
Loading…
Reference in New Issue