Fix comment formatting

This commit is contained in:
Joseph Garrone 2024-11-17 23:08:52 +01:00
parent c9abc6dc5c
commit 397f8133bf

View File

@ -36,19 +36,21 @@ export async function getUiModuleFileSourceCodeReadyToBeCopied(params: {
if (isForEjection) { if (isForEjection) {
return [ return [
`/*`, `/*`,
`This file was ejected from ${uiModuleName} version ${uiModuleVersion}.`, ` * This file was ejected from ${uiModuleName} version ${uiModuleVersion}.`,
` */` ` */`
].join("\n"); ].join("\n");
} else { } else {
return [ return [
`/*`, `/*`,
`WARNING: Before modifying this file run the following command:`, ` *`,
``, ` * WARNING: Before modifying this file run the following command:`,
`npx keycloakify eject-file --file ${fileRelativePath.split(pathSep).join("/")}\``, ` * `,
``, ` * $ npx keycloakify eject-file --file ${fileRelativePath.split(pathSep).join("/")}`,
`This file comes from ${uiModuleName} version ${uiModuleVersion}.`, ` * `,
` * This file comes from ${uiModuleName} version ${uiModuleVersion}.`,
` *`,
` */` ` */`
]; ].join("\n");
} }
})(); })();