Skip to content

Commit ecccc7c

Browse files
asgerferik-krogh
andauthored
Update docs/codeql/codeql-language-guides/migrating-javascript-dataflow-queries.rst
Co-authored-by: Erik Krogh Kristensen <[email protected]>
1 parent 26d85d5 commit ecccc7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/codeql/codeql-language-guides/migrating-javascript-dataflow-queries.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ There's an important change from the old data flow library when using flow state
207207

208208
When using ``TaintTracking::GlobalWithState``, all flow states can propagate along taint steps.
209209
In the old data flow library, only the ``taint`` flow label could propagate along taint steps.
210-
A straight-forward translation of such a query may therefore result in new flow paths being found, which might be unexpected.
210+
A straightforward translation of such a query may therefore result in new flow paths being found, which might be unexpected.
211211

212212
To emulate the old behavior, use ``DataFlow::GlobalWithState`` instead of ``TaintTracking::GlobalWithState``,
213213
and manually add taint steps using ``isAdditionalFlowStep``. The predicate ``TaintTracking::defaultTaintStep`` can be used to access to the set of taint steps.

0 commit comments

Comments
 (0)