code cleanup (MisskeyIO#825)

This commit is contained in:
あわわわとーにゅ 2024-11-27 05:48:25 +09:00 committed by GitHub
parent 029d6da7c8
commit e7afbd140a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
22 changed files with 24 additions and 25 deletions

View file

@ -273,7 +273,9 @@ export class FileInfoService {
watcher.close();
});
command.run();
for (let i = 1; true; i++) { // eslint-disable-line @typescript-eslint/no-unnecessary-condition
let i = 0;
while (true) {
i++;
const current = `${i}.png`;
const next = `${i + 1}.png`;
const framePath = join(cwd, current);