Merge pull request #286 from willwill96/KEYCLOAKIFY-285
fix: pass only strings to trimIndent
This commit is contained in:
commit
3bcc6bdf93
@ -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}
|
||||||
@ -90,5 +90,5 @@ if (require.main === module) {
|
|||||||
groupId: process.env.GROUP_ID ?? "group",
|
groupId: process.env.GROUP_ID ?? "group",
|
||||||
version: process.env.VERSION ?? "1.0.0"
|
version: process.env.VERSION ?? "1.0.0"
|
||||||
});
|
});
|
||||||
main().catch(e => console.error(e));
|
main();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user