fix edge case with plugin without a name
Signed-off-by: splatter <splatterxl@outlook.ie>
This commit is contained in:
parent
c4d7b98e72
commit
b8f77887ac
1 changed files with 1 additions and 1 deletions
2
index.ts
2
index.ts
|
@ -71,7 +71,7 @@ const LOGO_NO_ANSI = `\
|
|||
// [2;35mCCCCCCC[0m [2;40m[2;30m███[0m[2;40m[0m[2;31m[0m[2;30m███[0m[2;31m███[0m[2;32m███[0m[2;33m███[0m[2;34m███[0m[2;35m███[0m[2;36m███[0m[2;37m███[0m
|
||||
// ```;
|
||||
|
||||
const isApiPlugin = (plugin: Plugin) => plugin.name.endsWith("API") || plugin.required;
|
||||
const isApiPlugin = (plugin: Plugin) => plugin.name?.endsWith("API") || plugin.required;
|
||||
|
||||
function getEnabledPlugins() {
|
||||
const counters = {
|
||||
|
|
Loading…
Add table
Reference in a new issue