Skip to content

Commit 3cbc414

Browse files
Napalysasgerf
andauthored
Update javascript/ql/src/Quality/UnhandledStreamPipe.ql
Co-authored-by: Asger F <[email protected]>
1 parent 298ef9a commit 3cbc414

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

javascript/ql/src/Quality/UnhandledStreamPipe.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ private predicate hasErrorHandlerRegistered(PipeCall pipeCall) {
242242

243243
/**
244244
* Holds if the pipe call uses `gulp-plumber`, which automatically handles stream errors.
245-
* Gulp-plumber is a Node.js module that prevents pipe breaking caused by errors from gulp plugins.
245+
* `gulp-plumber` returns a stream that uses monkey-patching to ensure all subsequent streams in the pipeline propagate their errors.
246246
*/
247247
private predicate hasPlumber(PipeCall pipeCall) {
248248
pipeCall.getDestinationStream().getALocalSource() = API::moduleImport("gulp-plumber").getACall()

0 commit comments

Comments
 (0)