ui5-community / ui5-ecosystem-showcase

A repository showcasing the UI5 tooling extensibility to combine OSS tools for UI5 application development.
https://ui5-community.github.io/ui5-ecosystem-showcase/
Other
194 stars 94 forks source link

[ui5-task-copyright] linter binary reports non-existing task #1056

Closed petermuessig closed 3 months ago

petermuessig commented 3 months ago
    const notFound = (ui5Configs[0]?.builder?.customTasks?.findIndex((task) => task.name === "ui5-task-copyright") || -1) === -1;

recognizes the task being the first one in the custom task as non-existing => (0 || -1) === -1 is true.