Fix generated gitignore

This commit is contained in:
Joseph Garrone 2021-03-10 23:02:03 +01:00
parent 59e57f3dd5
commit aafbc60f12

View File

@ -130,10 +130,7 @@ export function generateKeycloakThemeResources(
fs.writeFileSync(
pathJoin(keycloakResourcesWithinPublicDirPath, ".gitignore"),
Buffer.from([
"*",
"!.gitignore"
].join("\n"))
Buffer.from("*", "utf8")
);
child_process.execSync(`rm -r ${tmpDirPath}`);