-
Notifications
You must be signed in to change notification settings - Fork 119
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: xArgs command update #2095
Conversation
@flank-it |
Integration tests succeed for all OSs ✅ |
Timestamp: 2021-07-22 11:55:46 |
@@ -45,3 +45,10 @@ internal fun parseSwiftTests(binary: String): List<String> { | |||
} | |||
return results.distinct() | |||
} | |||
|
|||
private fun String.determineXArgsCommand(argsMax: Int) = if (this.length > argsMax) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
private fun String.determineXArgsCommand(argsMax: Int) = if (this.length > argsMax) { | |
private fun String.determineXArgsCommand(argsMax: Int) = if (length > argsMax) { |
Fixes #1538
A small update to use a default option instead of failing straight out if the maxArgs is reached.
Checklist