diff --git a/index.ts b/index.ts index 1b375a8..e13cf38 100644 --- a/index.ts +++ b/index.ts @@ -71,7 +71,7 @@ const LOGO_NO_ANSI = `\ // CCCCCCC ███████████████████████████ // ```; -const isApiPlugin = (plugin: Plugin) => plugin.name.endsWith("API") || plugin.required; +const isApiPlugin = (plugin: Plugin) => plugin.name?.endsWith("API") || plugin.required; function getEnabledPlugins() { const counters = {