This commit is contained in:
Joseph Garrone
2024-05-26 19:31:09 +02:00
parent 68f5ee42e6
commit 01161fd8ef

View File

@ -282,7 +282,7 @@ export async function command(params: { cliCommandOptions: CliCommandOptions })
if ( if (
(await readFile()) (await readFile())
.toString("utf8") .toString("utf8")
.includes(`parent=keycloak`) .includes("parent=keycloak")
) { ) {
doUseBuiltInAccountV1Theme = true; doUseBuiltInAccountV1Theme = true;
} }
@ -348,7 +348,7 @@ export async function command(params: { cliCommandOptions: CliCommandOptions })
: []), : []),
...[ ...[
...buildOptions.themeNames, ...buildOptions.themeNames,
...(doLinkAccountV1Theme ? [accountV1ThemeName] : []) ...(doUseBuiltInAccountV1Theme ? [] : [accountV1ThemeName])
] ]
.map(themeName => ({ .map(themeName => ({
localDirPath: pathJoin( localDirPath: pathJoin(