This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit 346cfcdbf11579f845f4ff80776bc38b448a30dd
Author: Andrea Cosentino <[email protected]>
AuthorDate: Fri Jan 7 07:34:43 2022 +0100

    Camel-Kamelets-Bom: Fixed script
---
 script/version/UpdateDepsVersionKamelets.groovy | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/script/version/UpdateDepsVersionKamelets.groovy 
b/script/version/UpdateDepsVersionKamelets.groovy
index 52114c0..cf87d1d 100644
--- a/script/version/UpdateDepsVersionKamelets.groovy
+++ b/script/version/UpdateDepsVersionKamelets.groovy
@@ -51,8 +51,8 @@ def updateKameletDirectory(String directoryName, Map 
properties) {
             String kameletFile = f.getName() 
             new File( kameletFile + ".bak" ).withWriter { w ->
                 new File( directoryName + kameletFile ).eachLine { line ->
-                    libVersions.each { line = line.replaceAll(it.key, it.value)
-                                     w << line +  
System.getProperty("line.separator") }
+                    libVersions.each { line = line.replaceAll(it.key, 
it.value) }
+                                     w << line +  
System.getProperty("line.separator") 
                 }
             }
             Files.copy(Paths.get(kameletFile + ".bak"), 
Paths.get(directoryName + kameletFile), StandardCopyOption.REPLACE_EXISTING)

Reply via email to