diff --git a/src/Archiver.php b/src/Archiver.php index 2c0c671..075116a 100644 --- a/src/Archiver.php +++ b/src/Archiver.php @@ -206,7 +206,7 @@ public function archive_from_url( Release $release ): string { ] ); - throw FileDownloadFailed::forFileName( $tmpfname ); + throw FileDownloadFailed::forFileName( $filename ); } if ( ! wp_mkdir_p( \dirname( $filename ) ) ) {