JS: Add spurious alert marker

This commit is contained in:
Asger F
2025-02-12 11:53:06 +01:00
parent b095fe2a19
commit c051b4c98d

View File

@@ -39,7 +39,7 @@ require('express')().get('/foo', (req, res) => {
req.params.id, // $ Alert
req.params.name, // $ Alert
req.params.foo, // OK - not using raw interpolation
]
] // $ SPURIOUS: Alert - implicit reads causes flow here in addition to the individual array elements
});
db.one({
text: 'SELECT * FROM news where id = ${id}:raw AND name = ${name}',