Fix previous release
This commit is contained in:
@ -38,7 +38,15 @@ export async function main() {
|
|||||||
|
|
||||||
const { doBundlesEmailTemplate } = await generateKeycloakThemeResources({
|
const { doBundlesEmailTemplate } = await generateKeycloakThemeResources({
|
||||||
keycloakThemeBuildingDirPath,
|
keycloakThemeBuildingDirPath,
|
||||||
"emailThemeSrcDirPath": getEmailThemeSrcDirPath().emailThemeSrcDirPath,
|
"emailThemeSrcDirPath": (() => {
|
||||||
|
const { emailThemeSrcDirPath } = getEmailThemeSrcDirPath();
|
||||||
|
|
||||||
|
if (emailThemeSrcDirPath === undefined || !fs.existsSync(emailThemeSrcDirPath)) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
return emailThemeSrcDirPath;
|
||||||
|
})(),
|
||||||
"reactAppBuildDirPath": pathJoin(reactProjectDirPath, "build"),
|
"reactAppBuildDirPath": pathJoin(reactProjectDirPath, "build"),
|
||||||
buildOptions,
|
buildOptions,
|
||||||
//We have to leave it at that otherwise we break our default theme.
|
//We have to leave it at that otherwise we break our default theme.
|
||||||
|
Reference in New Issue
Block a user