mirror of
https://github.com/github/codeql.git
synced 2026-04-26 01:05:15 +02:00
JS: Fix wrong expectation in UnusedOrUndefinedStateProperty
This commit is contained in:
@@ -18,7 +18,7 @@ function f(s){
|
||||
}
|
||||
class C2 extends React.Component {
|
||||
constructor() {
|
||||
this.state.readWhenEscaped = 42; // $ MISSING: Alert
|
||||
this.state.readWhenEscaped = 42;
|
||||
f(this.state);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user