Commit 2ba3dbd
authored
Exit with error for unsupported S3 backend (#2856)
The `lychee:generate_thumbs` command does not support the S3 backend.
This commit outputs an error message and exits the tool when the command
is invoked with such a backend, avoiding incorrect behaviour such as
writing images to the filesystem.1 parent 2b74431 commit 2ba3dbd
1 file changed
+8
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| |||
60 | 61 | | |
61 | 62 | | |
62 | 63 | | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
63 | 71 | | |
64 | 72 | | |
65 | 73 | | |
| |||
0 commit comments