[Gradle, JS] Quoted args
KT-38331
This commit is contained in:
+3
-3
@@ -208,9 +208,9 @@ private abstract class AbstractNpmDependencyExtension(
|
|||||||
protected fun npmDeclarationException(args: Array<out Any?>): Nothing {
|
protected fun npmDeclarationException(args: Array<out Any?>): Nothing {
|
||||||
throw IllegalArgumentException(
|
throw IllegalArgumentException(
|
||||||
"""
|
"""
|
||||||
|Unable to add NPM dependency with scope '${scope.name.toLowerCase()}' by ${args.joinToString()}
|
|Unable to add NPM dependency with scope '${scope.name.toLowerCase()}' by ${args.joinToString { "'$it'" }}
|
||||||
|Possible variants:
|
|Possible variants:
|
||||||
|${possibleVariants().joinToString("\n") { "- ${it.first} -> ${it.second}" }}
|
|${possibleVariants().joinToString("\n") { "- ${it.first} -> ${it.second}" }}
|
||||||
""".trimMargin()
|
""".trimMargin()
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user