- include error in log for bad replacer regex
- allow category only with rules (and no labels) in exhaustive mode
This commit is contained in:
@@ -54,7 +54,7 @@ export function buildRegex(
|
||||
onEmpty
|
||||
}
|
||||
} catch (e) {
|
||||
core.warning(`⚠️ Bad replacer regex: ${regex.pattern}`)
|
||||
core.warning(`⚠️ Bad regex: ${regex.pattern} (${e})`)
|
||||
return null
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user