mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-22 13:05:18 +01:00
attempt to fix test error
This commit is contained in:
parent
b77106b440
commit
d9d6524cad
1 changed files with 2 additions and 1 deletions
|
@ -56,7 +56,8 @@ export class FileInfoService {
|
|||
private aiService: AiService,
|
||||
private loggerService: LoggerService,
|
||||
) {
|
||||
this.logger = this.loggerService.getLogger('file-info');
|
||||
// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
|
||||
this.logger = this.loggerService?.getLogger('file-info'); // なぜか TypeError: Cannot read properties of undefined (reading 'getLogger') と言われる
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue