File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -171,14 +171,14 @@ object OrtMain : CommandWithHelp() {
171
171
val variables = env.variables.entries.map { (key, value) -> " $key = $value " }
172
172
173
173
val command = commandName?.let { " '$commandName '" }.orEmpty()
174
- val with = " with " . takeUnless { variables.isEmpty() }.orEmpty()
174
+ val with = if ( variables.isNotEmpty()) " with " else " . "
175
175
176
176
var variableIndex = 0
177
177
178
178
"""
179
179
________ _____________________
180
180
\_____ \\______ \__ ___/ the OSS Review Toolkit, version ${env.ortVersion} .
181
- / | \| _/ | | Running$command on Java ${env.javaVersion} and ${env.os} $with
181
+ / | \| _/ | | Running$command using Java ${env.javaVersion} on ${env.os}$with
182
182
/ | \ | \ | | ${variables.getOrElse(variableIndex++ ) { " " }}
183
183
\_______ /____|_ / |____| ${variables.getOrElse(variableIndex++ ) { " " }}
184
184
\/ \/
You can’t perform that action at this time.
0 commit comments