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) {
return [
`/*`,
`This file was ejected from ${uiModuleName} version ${uiModuleVersion}.`,
`*/`
` * This file was ejected from ${uiModuleName} version ${uiModuleVersion}.`,
` */`
].join("\n");
} else {
return [
`/*`,
`WARNING: Before modifying this file run the following command:`,
``,
`npx keycloakify eject-file --file ${fileRelativePath.split(pathSep).join("/")}\``,
``,
`This file comes from ${uiModuleName} version ${uiModuleVersion}.`,
`*/`
];
` *`,
` * WARNING: Before modifying this file run the following command:`,
` * `,
` * $ npx keycloakify eject-file --file ${fileRelativePath.split(pathSep).join("/")}`,
` * `,
` * This file comes from ${uiModuleName} version ${uiModuleVersion}.`,
` *`,
` */`
].join("\n");
}
})();