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( fs.writeFileSync(
pathJoin(keycloakResourcesWithinPublicDirPath, ".gitignore"), pathJoin(keycloakResourcesWithinPublicDirPath, ".gitignore"),
Buffer.from([ Buffer.from("*", "utf8")
"*",
"!.gitignore"
].join("\n"))
); );
child_process.execSync(`rm -r ${tmpDirPath}`); child_process.execSync(`rm -r ${tmpDirPath}`);