fix: pass only strings to trimIndent

This commit is contained in:
William Will
2023-03-29 18:07:43 -06:00
parent 7784fdcd6a
commit 31ca0939aa

View File

@ -35,7 +35,7 @@ export default async function jar({ groupId, artifactId, version, rootPath, targ
const pomProps: ZipSource = { const pomProps: ZipSource = {
path: `META-INF/maven/${groupId}/${artifactId}/pom.properties`, path: `META-INF/maven/${groupId}/${artifactId}/pom.properties`,
data: Buffer.from(trimIndent`# Generated by keycloakify data: Buffer.from(trimIndent`# Generated by keycloakify
# ${new Date()} # ${new Date().toString()}
artifactId=${artifactId} artifactId=${artifactId}
groupId=${groupId} groupId=${groupId}
version=${version} version=${version}