mirror of
https://github.com/appwrite/appwrite
synced 2026-05-24 01:18:37 +00:00
feat: linter fixes
This commit is contained in:
parent
c97e7ce328
commit
ac2e7efb3c
1 changed files with 2 additions and 3 deletions
|
|
@ -140,7 +140,7 @@ class Hamster extends Action
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
return $stats;
|
return $stats;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function action(Registry $register, Group $pools, Cache $cache, Database $dbForConsole): void
|
public function action(Registry $register, Group $pools, Cache $cache, Database $dbForConsole): void
|
||||||
|
|
@ -174,7 +174,7 @@ class Hamster extends Action
|
||||||
if ($project->getId() === 'console') {
|
if ($project->getId() === 'console') {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
Console::info("Getting stats for {$project->getId()}");
|
Console::info("Getting stats for {$project->getId()}");
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|
@ -190,7 +190,6 @@ class Hamster extends Action
|
||||||
|
|
||||||
$statsPerProject = $this->getStats($dbForConsole, $dbForProject, $project);
|
$statsPerProject = $this->getStats($dbForConsole, $dbForProject, $project);
|
||||||
$csv->insertOne(array_values($statsPerProject));
|
$csv->insertOne(array_values($statsPerProject));
|
||||||
|
|
||||||
} catch (\Throwable $th) {
|
} catch (\Throwable $th) {
|
||||||
throw $th;
|
throw $th;
|
||||||
Console::error('Failed to update project ("' . $project->getId() . '") version with error: ' . $th->getMessage());
|
Console::error('Failed to update project ("' . $project->getId() . '") version with error: ' . $th->getMessage());
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue