Remove unused parameter

This commit is contained in:
garronej
2023-08-21 04:29:32 +02:00
parent cd68b07e19
commit 641cc38ae4
5 changed files with 5 additions and 18 deletions

View File

@ -16,11 +16,10 @@ export async function downloadKeycloakStaticResources(
projectDirPath: string;
themeType: ThemeType;
themeDirPath: string;
isSilent: boolean;
keycloakVersion: string;
}
) {
const { projectDirPath, themeType, isSilent, themeDirPath, keycloakVersion } = params;
const { projectDirPath, themeType, themeDirPath, keycloakVersion } = params;
const tmpDirPath = pathJoin(
themeDirPath,
@ -31,8 +30,7 @@ export async function downloadKeycloakStaticResources(
await downloadBuiltinKeycloakTheme({
projectDirPath,
keycloakVersion,
"destDirPath": tmpDirPath,
isSilent
"destDirPath": tmpDirPath
});
transformCodebase({

View File

@ -19,7 +19,6 @@ export namespace BuildOptionsLike {
export type Common = {
themeName: string;
extraThemeProperties: string[] | undefined;
isSilent: boolean;
themeVersion: string;
keycloakVersionDefaultAssets: string;
};
@ -207,7 +206,6 @@ export async function generateTheme(params: {
await downloadKeycloakStaticResources({
projectDirPath,
"isSilent": buildOptions.isSilent,
"keycloakVersion": buildOptions.keycloakVersionDefaultAssets,
"themeDirPath": keycloakDirInPublicDir,
themeType
@ -233,7 +231,6 @@ export async function generateTheme(params: {
await downloadKeycloakStaticResources({
projectDirPath,
"isSilent": buildOptions.isSilent,
"keycloakVersion": buildOptions.keycloakVersionDefaultAssets,
themeDirPath,
themeType