mirror of
https://github.com/github/codeql.git
synced 2025-12-21 19:26:31 +01:00
JS: Blacklist another cyclic property
This commit is contained in:
@@ -0,0 +1 @@
|
||||
semmle-extractor-options: --tolerate-parse-errors
|
||||
@@ -0,0 +1,2 @@
|
||||
| tst.ts:1:1:1:1 | Error: '}' expected. |
|
||||
| tst.ts:1:25:1:25 | Error: '{' expected. |
|
||||
@@ -0,0 +1,4 @@
|
||||
import javascript
|
||||
|
||||
from JSParseError err
|
||||
select err
|
||||
@@ -0,0 +1 @@
|
||||
var fn = (x: number) => return x * 2;
|
||||
Reference in New Issue
Block a user