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