Fix: check for delegation of the eject-page command

This commit is contained in:
Joseph Garrone 2024-10-06 22:08:43 +02:00
parent d63e5f4e54
commit 52e33bba2d

View File

@ -22,10 +22,16 @@ import { kebabCaseToCamelCase } from "./tools/kebabCaseToSnakeCase";
import { assert, Equals } from "tsafe/assert";
import type { BuildContext } from "./shared/buildContext";
import chalk from "chalk";
import { maybeDelegateCommandToCustomHandler } from "./shared/customHandler_delegate";
export async function command(params: { buildContext: BuildContext }) {
const { buildContext } = params;
maybeDelegateCommandToCustomHandler({
commandName: "eject-page",
buildContext
});
console.log(chalk.cyan("Theme type:"));
const themeType = await (async () => {