Chore: lint
All checks were successful
Build and push image / release-image (push) Successful in 1m32s
All checks were successful
Build and push image / release-image (push) Successful in 1m32s
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
import { Readable } from 'stream';
|
||||
import { Injectable, HttpException, HttpStatus } from '@nestjs/common';
|
||||
import { Injectable } from '@nestjs/common';
|
||||
import { ConfigService } from '@nestjs/config';
|
||||
import {
|
||||
S3Client,
|
||||
@@ -37,8 +36,7 @@ export class AppService {
|
||||
try {
|
||||
return await this.s3Client.send(command);
|
||||
} catch (err: unknown) {
|
||||
if (err instanceof NoSuchKey)
|
||||
return null;
|
||||
if (err instanceof NoSuchKey) return null;
|
||||
throw err;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user