mirror of
https://github.com/github/codeql.git
synced 2025-12-17 17:23:36 +01:00
This was previously flagged if `exports` wasn't used any further. While it's true that the assignment to `exports` is redundant in this case, the assignment is also flagged by DeadStorOfLocal, so there is no point in InvalidExport flagging it as well.
3 lines
173 B
Plaintext
3 lines
173 B
Plaintext
| tst5.js:3:1:3:12 | exports = {} | Assigning to 'exports' does not export anything. |
|
|
| tst.js:2:1:2:12 | exports = 56 | Assigning to 'exports' does not export anything. |
|