mirror of
https://github.com/github/codeql-action.git
synced 2026-11-12 07:45:45 +00:00
8 lines
206 B
JavaScript
8 lines
206 B
JavaScript
'use strict';
|
|
|
|
module.exports = (context, badBrowser) => ({
|
|
'LogicalExpression[operator="??"]'(node) {
|
|
context.report(node, `the Nullish Coalescing Operator is not supported in ${badBrowser}`)
|
|
}
|
|
})
|