mirror of https://github.com/knative/func.git
fix: springboot updater missing EOL (#2433)
Signed-off-by: Matej Vašek <matejvasek@gmail.com>
This commit is contained in:
parent
aed23cf9a1
commit
362bdf64c8
|
@ -87,7 +87,7 @@ const updatePlatformInPom = async (pomPath, newPlatform) => {
|
|||
pom.project.properties[0]['spring-cloud.version'] = [compatibleSpringCloudVersion]
|
||||
|
||||
const builder = new xml2js.Builder( { headless: false, renderOpts: { pretty: true } })
|
||||
const newPomData = builder.buildObject(pom)
|
||||
const newPomData = builder.buildObject(pom) + "\n"
|
||||
await writeFile(pomPath, newPomData)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue