fix(lint): clear error-level violations across runtime and ui
This commit is contained in:
@@ -298,7 +298,7 @@ function truncateForError(text: string, max = 180): string {
|
||||
async function readResponseBody(response: Response): Promise<string> {
|
||||
const textReader = response.text as unknown;
|
||||
if (typeof textReader === 'function') {
|
||||
return await response.text();
|
||||
return response.text();
|
||||
}
|
||||
|
||||
const maybeJsonResponse = response as unknown as { json?: () => Promise<unknown> };
|
||||
|
||||
@@ -216,7 +216,7 @@ export function createMinioSyncTool(config: BackupConfig, store: MemoryStore, de
|
||||
return {
|
||||
success: true,
|
||||
output: [
|
||||
`MinIO sync completed.`,
|
||||
'MinIO sync completed.',
|
||||
`Prefix: minio://${bucket}/${prefix}`,
|
||||
`Scanned: ${selected.length} object(s)`,
|
||||
`Imported: ${imported}`,
|
||||
|
||||
Reference in New Issue
Block a user