Skip to content

Commit bb33308

Browse files
committed
fix lint
1 parent ab94ded commit bb33308

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/minio/minio.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ export class MinioUtils {
7373
}
7474

7575
const durationSeconds = minioContext?.stsToken?.expiration;
76-
//提前三分钟过期
76+
// 提前三分钟过期
7777
const durationMills = durationSeconds ? (durationSeconds - 180) * 1000 : 0;
7878

7979
if (minioContext.stsToken === undefined || (minioContext.tokenTime + durationMills) <= Date.now().valueOf()) {
@@ -158,7 +158,7 @@ export class MinioUtils {
158158

159159
const {response, data } = r;
160160
if (!r.response.ok) {
161-
return { data: data as any, response: response }
161+
return { data: data as any, response }
162162
}
163163

164164
const { stsToken, config } = r.data;

0 commit comments

Comments
 (0)