Skip to content
This repository has been archived by the owner on Dec 4, 2022. It is now read-only.

Commit

Permalink
- added default for dep
Browse files Browse the repository at this point in the history
  • Loading branch information
Doomsdayrs committed Dec 21, 2020
1 parent e200a9c commit f646f01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/kotlin/app/shosetsu/lib/IExtension.kt
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ interface IExtension {
@SerialName(J_REPO)
val repo: String = "",
@SerialName(J_DEP)
val stringDep: List<String>
val stringDep: List<String> = listOf()
) {
val dependencies: Map<String, Version> by lazy {
val v = stringDep.map { value -> value.split(">=").let { dep -> dep.first() to dep[1] } }
Expand Down

0 comments on commit f646f01

Please sign in to comment.