diff --git a/src/bin/tools/jar.ts b/src/bin/tools/jar.ts index 0bd91837..a87f4a52 100644 --- a/src/bin/tools/jar.ts +++ b/src/bin/tools/jar.ts @@ -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(); }