mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-11-24 17:09:25 +00:00
refactor(s3): remove unnecessary any cast in LocalStorageProvider putObject
This commit is contained in:
@@ -305,8 +305,7 @@ export class LocalStorageService implements S3Service {
|
||||
}
|
||||
await writer.end()
|
||||
} else {
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
await Bun.write(filePath, body as any)
|
||||
await Bun.write(filePath, body)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user