go-debos / debos

Debian OS builder
Apache License 2.0
533 stars 136 forks source link

download: Actually validate empty pathnames #497

Closed fooishbar closed 4 months ago

fooishbar commented 4 months ago

From the path module doc: If the path is empty, Base returns ".". If the path consists entirely of slashes, Base returns "/".

Actually validate that we provide a filename when one is required, rather than failing with an error that /scratch exists but is not a file.

fooishbar commented 4 months ago

The CI failing isn't my fault, but I can't see how to retry.