mirror of
https://github.com/demostf/migrate.git
synced 2026-06-03 17:24:10 +02:00
redownload on not found
This commit is contained in:
parent
9fd4b88d8d
commit
9e88898d7a
1 changed files with 1 additions and 1 deletions
|
|
@ -18,7 +18,7 @@ class Migrate {
|
|||
public function migrateDemo(array $demo): bool {
|
||||
$name = basename($demo['url']);
|
||||
if (!$this->store->exists($name)) {
|
||||
throw new \Exception('demo not found: ' . $this->store->generatePath($name));
|
||||
$this->reDownloadDemo($demo);
|
||||
}
|
||||
|
||||
$hash = $this->store->hash($name);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue