Closed petermuessig closed 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.
(0 || -1) === -1
true
recognizes the task being the first one in the custom task as non-existing =>
(0 || -1) === -1
istrue
.