Skip to content

Temp file remains if download_file fails #39

Description

@alice-hannah

In download_helper, temp file is only deleted on exit if download_type == "read". This means when used in download_file, the temp file remains.

To do:

  • Move on.exit out of if statement
  • Ensure this is covered in unit tests

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions