Skip to content

Commit

Permalink
Fix type inference issue
Browse files Browse the repository at this point in the history
  • Loading branch information
michel-kraemer committed Feb 25, 2023
1 parent 42ab30a commit 304f68e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/kotlin/directory-github/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ tasks.register("downloadDirectoryGitHub") {
}

// parse directory listing
val contents = groovy.json.JsonSlurper().parse(contentsFile, "utf-8") as List<Map<Object, String>>
val contents = groovy.json.JsonSlurper().parse(contentsFile, "utf-8") as List<Map<Any, String>>
val urls = contents.map { it["download_url"] }

// download files
Expand Down

0 comments on commit 304f68e

Please sign in to comment.