mirror of
https://github.com/github/codeql-action.git
synced 2025-12-31 11:40:24 +08:00
6 lines
178 B
JavaScript
6 lines
178 B
JavaScript
module.exports = (context, badBrowser) => ({
|
|
'CatchClause:not([param])'(node) {
|
|
context.report(node, `Optional Catch Parameters are not supported in ${badBrowser}`)
|
|
}
|
|
})
|