Skip to content

Commit 5009713

Browse files
committed
fix(downloader): Copy non-archive artifacts to the output directory
This is a fixup for 5e6ea82. Signed-off-by: Sebastian Schuberth <sebastian@doubleopen.org>
1 parent 2a9f2b0 commit 5009713

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

downloader/src/main/kotlin/Downloader.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -390,6 +390,8 @@ class Downloader(private val config: DownloaderConfiguration) {
390390
if (!isSourceCodeFile) throw DownloadException("The artifact does not seem to be a source code file", e)
391391

392392
logger.info { "Treating '${sourceArchive.absolutePath}' as a source code file." }
393+
394+
sourceArchive.copyTo(outputDirectory / sourceArchive.name)
393395
}
394396
}
395397

0 commit comments

Comments
 (0)