From 52c4300346e384f63b7c9ed3008124a837e7f6f3 Mon Sep 17 00:00:00 2001 From: ansgarz Date: Fri, 30 Apr 2021 12:29:55 +0200 Subject: [PATCH] suppress result output for xecNoLog --- build.gradle | 2 +- src/main/kotlin/io/provs/Prov.kt | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/build.gradle b/build.gradle index 60a6ff9..7944d8b 100644 --- a/build.gradle +++ b/build.gradle @@ -14,7 +14,7 @@ apply plugin: 'java-test-fixtures' apply plugin: 'maven-publish' group = 'io.provs' -version = '0.8.9' +version = '0.8.10-SNAPSHOT' repositories { mavenCentral() diff --git a/src/main/kotlin/io/provs/Prov.kt b/src/main/kotlin/io/provs/Prov.kt index 744eb30..d44f8b6 100644 --- a/src/main/kotlin/io/provs/Prov.kt +++ b/src/main/kotlin/io/provs/Prov.kt @@ -97,9 +97,9 @@ open class Prov protected constructor(private val processor: Processor, val name val result = processor.xNoLog(*cmd) return ProvResult( success = (result.exitCode == 0), - cmd = result.argsToString(), - out = result.out, - err = result.err + cmd = "***", + out = "***", + err = "***" ) }