Fix logical error
This commit is contained in:
parent
01161fd8ef
commit
1497672a4e
@ -25,7 +25,7 @@ export async function keycloakifyBuild(params: {
|
|||||||
cwd: buildOptions.reactAppRootDirPath,
|
cwd: buildOptions.reactAppRootDirPath,
|
||||||
env: {
|
env: {
|
||||||
...process.env,
|
...process.env,
|
||||||
...(doSkipBuildJars ? {} : { [skipBuildJarsEnvName]: "true" })
|
...(doSkipBuildJars ? { [skipBuildJarsEnvName]: "true" } : {})
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -204,12 +204,6 @@ export async function command(params: { cliCommandOptions: CliCommandOptions })
|
|||||||
|
|
||||||
console.log(`Using Keycloak ${chalk.bold(jarFileBasename)}`);
|
console.log(`Using Keycloak ${chalk.bold(jarFileBasename)}`);
|
||||||
|
|
||||||
try {
|
|
||||||
child_process.execSync(`docker rm --force ${containerName}`, {
|
|
||||||
stdio: "ignore"
|
|
||||||
});
|
|
||||||
} catch {}
|
|
||||||
|
|
||||||
const realmJsonFilePath = await (async () => {
|
const realmJsonFilePath = await (async () => {
|
||||||
if (cliCommandOptions.realmJsonFilePath !== undefined) {
|
if (cliCommandOptions.realmJsonFilePath !== undefined) {
|
||||||
console.log(
|
console.log(
|
||||||
@ -328,6 +322,12 @@ export async function command(params: { cliCommandOptions: CliCommandOptions })
|
|||||||
|
|
||||||
accountThemePropertyPatch?.();
|
accountThemePropertyPatch?.();
|
||||||
|
|
||||||
|
try {
|
||||||
|
child_process.execSync(`docker rm --force ${containerName}`, {
|
||||||
|
stdio: "ignore"
|
||||||
|
});
|
||||||
|
} catch {}
|
||||||
|
|
||||||
const spawnArgs = [
|
const spawnArgs = [
|
||||||
"docker",
|
"docker",
|
||||||
[
|
[
|
||||||
|
Loading…
x
Reference in New Issue
Block a user