We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e72cffe commit 716d3e1Copy full SHA for 716d3e1
src/main/kotlin/de/lobbenmeier/stefan/update/github/GithubReleaseDownloader.kt
@@ -20,7 +20,7 @@ class GithubReleaseDownloader(
20
) {
21
suspend fun downloadRelease(
22
assetName: String,
23
- onProgress: suspend (UpdateDownloadProgress) -> Unit,
+ onProgress: suspend (UpdateDownloadProgress) -> Unit = {},
24
): File {
25
val httpClient = HttpClient { install(ContentNegotiation) { json(GithubJson) } }
26
src/test/kotlin/de/lobbenmeier/stefan/ytdlp/YtDlpTest.kt
@@ -5,7 +5,7 @@ import io.kotest.core.spec.style.FunSpec
5
class YtDlpTest :
6
FunSpec({
7
test("download") {
8
- val ytDlp = YtDlp(YtDlpConfiguration(), YtDlpVersion())
+ val ytDlp = YtDlp()
9
10
ytDlp
11
.createDownloadItem("https://www.youtube.com/watch?v=CBB75zjxTR4")
0 commit comments