Generators: reduce verbosity when logging which files are generated
It made it a bit difficult to see which tests were affected when running generateTests.
This commit is contained in:
committed by
Space Team
parent
6f17022449
commit
2d76c7b05d
@@ -50,12 +50,10 @@ object GeneratorsFileUtil {
|
||||
val tempFile =
|
||||
if (useTempFile) createTempDirectory(targetFile.name) / "${targetFile.name}.tmp" else targetFile
|
||||
tempFile.writeText(newText, Charsets.UTF_8)
|
||||
println("File written: ${tempFile.toAbsolutePath()}")
|
||||
if (useTempFile) {
|
||||
tempFile.moveTo(targetFile, overwrite = true)
|
||||
println("Renamed $tempFile to $targetFile")
|
||||
}
|
||||
println()
|
||||
println("File written: ${targetFile.toAbsolutePath()}")
|
||||
}
|
||||
|
||||
private fun failOnTeamCity(message: String): Boolean {
|
||||
|
||||
Reference in New Issue
Block a user