mirror of
https://github.com/github/codeql-action.git
synced 2026-01-06 14:40:10 +08:00
8 lines
197 B
JavaScript
8 lines
197 B
JavaScript
'use strict';
|
|
|
|
module.exports = (context, badBrowser) => ({
|
|
':function[async=true][generator=true]'(node) {
|
|
context.report(node, `Async Generators are not supported in ${badBrowser}`)
|
|
}
|
|
})
|