chore(deps): update dependency eslint-plugin-unicorn to v70 - abandoned (#29684)

* chore(deps): update dependency eslint-plugin-unicorn to v70

* fix: linting

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Dietzler <mail@ddietzler.dev>
This commit is contained in:
renovate[bot]
2026-07-20 23:47:14 -04:00
committed by GitHub
co-authored by renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Daniel Dietzler
parent 8061a2e5ff
commit df970da59e
266 changed files with 1260 additions and 1212 deletions
@@ -42,10 +42,12 @@ export class MaintenanceHealthRepository {
worker.on('error', (error) => reject(new Error(`Server health check failed, process threw: ${error}`)));
setTimeout(() => {
if (worker.exitCode === null) {
reject(new Error('Server health check failed, took too long to start.'));
worker.kill('SIGTERM');
if (worker.exitCode !== null) {
return;
}
reject(new Error('Server health check failed, took too long to start.'));
worker.kill('SIGTERM');
}, 180_000);
});
}
@@ -171,8 +171,8 @@ export class MaintenanceWorkerService {
const candidates = ['/data', '/usr/src/app/upload'];
for (const candidate of candidates) {
const exists = this.storageRepository.existsSync(candidate);
if (exists) {
const isExists = this.storageRepository.existsSync(candidate);
if (isExists) {
targets.push(candidate);
}
}
@@ -295,8 +295,8 @@ export class MaintenanceWorkerService {
}
async runRestoreDatabase(action: SetMaintenanceModeDto) {
const lock = await this.databaseRepository.tryLock(DatabaseLock.MaintenanceOperation);
if (!lock) {
const isLock = await this.databaseRepository.tryLock(DatabaseLock.MaintenanceOperation);
if (!isLock) {
return;
}