Skip to content

Commit

Permalink
fixed logging
Browse files Browse the repository at this point in the history
  • Loading branch information
nulls committed Sep 20, 2023
1 parent 9474251 commit 5579d78
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class LocalCommandExecutor internal constructor(
)
}
} catch (ex: IOException) {
log.error(ex) { "${"Execution of $command failed"}" }
log.error(ex) { "Execution of $command failed" }
}
return ExecutionResult(emptyList(), emptyList())
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,7 @@ class TestArgumentsReader(
?.map { it.trim() }
?: run {
log.error {
"""Missing option --test or -t. Not able to run tests, please provide test names or use --all
option to run all available tests"""
"Missing option --test or -t. Not able to run tests, please provide test names or use --all option to run all available tests"
}
exitProcess(2)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,10 @@ class FileComparator(
val joinedDeltas = delta ?: return true
log.error {
"""
|Expected result for <$fileName> formatted are different.
|See difference below:
|$joinedDeltas
""".trimMargin()
|Expected result for <$fileName> formatted are different.
|See difference below:
|$joinedDeltas
""".trimMargin()
}
return false
} catch (e: IllegalArgumentException) {
Expand Down

0 comments on commit 5579d78

Please sign in to comment.