CORDA-2028 - Fix use of required paramers/options on command line (#4040)

* Make required parameters work with --install-shell-extensions and make errors look a bit more errorey

* Make blobinspector required parameter work the way it used to

* Fix compilation Error
This commit is contained in:
Anthony Keenan
2018-10-09 15:49:24 +02:00
committed by GitHub
parent 5d84640d1f
commit 9c8a1cd14a
3 changed files with 45 additions and 23 deletions

View File

@ -53,7 +53,7 @@ class BlobInspectorTest {
}
private fun run(resourceName: String): String {
blobInspector.source = mutableListOf(javaClass.getResource(resourceName))
blobInspector.source = javaClass.getResource(resourceName)
val writer = StringWriter()
blobInspector.run(PrintStream(WriterOutputStream(writer, UTF_8)))
val output = writer.toString()