mirror of
https://github.com/github/codeql.git
synced 2026-04-26 17:25:19 +02:00
Added qhelp for UnhandledStreamPipe query
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
const fs = require('fs');
|
||||
const source = fs.createReadStream('source.txt');
|
||||
const destination = fs.createWriteStream('destination.txt');
|
||||
|
||||
// Bad: No error handling
|
||||
source.pipe(destination);
|
||||
Reference in New Issue
Block a user