Merge pull request #286 from willwill96/KEYCLOAKIFY-285

fix: pass only strings to trimIndent
This commit is contained in:
Joseph Garrone 2023-03-30 07:38:21 +02:00 committed by GitHub
commit 3bcc6bdf93
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -35,7 +35,7 @@ export default async function jar({ groupId, artifactId, version, rootPath, targ
const pomProps: ZipSource = {
path: `META-INF/maven/${groupId}/${artifactId}/pom.properties`,
data: Buffer.from(trimIndent`# Generated by keycloakify
# ${new Date()}
# ${new Date().toString()}
artifactId=${artifactId}
groupId=${groupId}
version=${version}
@ -90,5 +90,5 @@ if (require.main === module) {
groupId: process.env.GROUP_ID ?? "group",
version: process.env.VERSION ?? "1.0.0"
});
main().catch(e => console.error(e));
main();
}