You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
val parts = remoteDestination.split("/".toRegex(), -1)
Kotlin version: 1.4.10
Argument limit=-1 goes to underlying kotlin.text.Regex.split(input: CharSequence, limit: Int = 0) which doesn't accept negative values:
require(limit >= 0, { "Limit must be non-negative, but was $limit." })
The text was updated successfully, but these errors were encountered:
kossh/src/main/kotlin/kossh/impl/SSHScp.kt
Line 93 in f7d671e
Kotlin version: 1.4.10
Argument limit=-1 goes to underlying kotlin.text.Regex.split(input: CharSequence, limit: Int = 0) which doesn't accept negative values:
require(limit >= 0, { "Limit must be non-negative, but was $limit." })
The text was updated successfully, but these errors were encountered: