mirror of
https://github.com/github/codeql-action.git
synced 2025-12-31 11:40:24 +08:00
6 lines
182 B
JavaScript
6 lines
182 B
JavaScript
module.exports = (context, badBrowser) => ({
|
|
':function[async=true][generator=true]'(node) {
|
|
context.report(node, `Async Generators are not supported in ${badBrowser}`)
|
|
}
|
|
})
|