Skip to content

Commit

Permalink
Improve backup message
Browse files Browse the repository at this point in the history
  • Loading branch information
NeKzor committed Jun 8, 2024
1 parent 79b7c50 commit f09d05c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion backup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
// Requirements: .env (see .env.example)
// Example usage: deno run --env -A ./docker/volumes/backups/autorender_db_latest.sql.gz ./kv_db_latest.zip.gz

import { format } from 'jsr:@std/fmt/bytes';
import { parseArgs } from 'jsr:@std/cli/parse-args';
import { basename } from 'jsr:@std/path/windows';
import { retry } from 'jsr:@std/async';
Expand Down Expand Up @@ -76,7 +77,7 @@ try {
embeds: [
{
color: 0x0480A5,
description: `Uploaded file \`${fileName}\` ${upload.fileId}`,
description: `Uploaded file \`${fileName}\` (${format(upload.contentLength)}) ${upload.contentMd5}`,
},
],
}),
Expand Down

0 comments on commit f09d05c

Please sign in to comment.