mirror of
https://github.com/github/codeql.git
synced 2026-04-29 10:45:15 +02:00
Fixed issue where pipe calls from rxjs package would been identified as pipe calls on streams
This commit is contained in:
@@ -5,6 +5,6 @@ const { of, from } = rx;
|
||||
const { map, filter } = ops;
|
||||
|
||||
function f(){
|
||||
of(1, 2, 3).pipe(map(x => x * 2)); // $SPURIOUS:Alert
|
||||
someNonStream().pipe(map(x => x * 2)); // $SPURIOUS:Alert
|
||||
of(1, 2, 3).pipe(map(x => x * 2));
|
||||
someNonStream().pipe(map(x => x * 2));
|
||||
}
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
| rxjsStreams.js:8:3:8:35 | of(1, 2 ... x * 2)) | Stream pipe without error handling on the source stream. Errors won't propagate downstream and may be silently dropped. |
|
||||
| rxjsStreams.js:9:3:9:39 | someNon ... x * 2)) | Stream pipe without error handling on the source stream. Errors won't propagate downstream and may be silently dropped. |
|
||||
| test.js:4:5:4:28 | stream. ... nation) | Stream pipe without error handling on the source stream. Errors won't propagate downstream and may be silently dropped. |
|
||||
| test.js:19:5:19:17 | s2.pipe(dest) | Stream pipe without error handling on the source stream. Errors won't propagate downstream and may be silently dropped. |
|
||||
| test.js:45:5:45:30 | stream2 ... ation2) | Stream pipe without error handling on the source stream. Errors won't propagate downstream and may be silently dropped. |
|
||||
|
||||
Reference in New Issue
Block a user