Remove duplicate reporthing path
This commit is contained in:
@@ -132,7 +132,6 @@ async function checkWorkflow(workflowPath: string, propertiesPath: string, allow
|
|||||||
if (properties.iconName.startsWith("lucide ")) {
|
if (properties.iconName.startsWith("lucide ")) {
|
||||||
const lucideName = properties.iconName.slice("lucide ".length).split(".")[0].trim()
|
const lucideName = properties.iconName.slice("lucide ".length).split(".")[0].trim()
|
||||||
if(!lucideName) {
|
if(!lucideName) {
|
||||||
workflowErrors.errors.push(`No icon named ${properties.iconName} found`)
|
|
||||||
svgIconName = undefined
|
svgIconName = undefined
|
||||||
} else {
|
} else {
|
||||||
svgIconName = `lucide-${lucideName}`
|
svgIconName = `lucide-${lucideName}`
|
||||||
|
|||||||
Reference in New Issue
Block a user