Skip to content

Commit e5e8496

Browse files
committed
fix QL-for-QL warnings
1 parent 02da718 commit e5e8496

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

javascript/ql/lib/semmle/javascript/security/dataflow/CodeInjectionCustomizations.qll

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -295,16 +295,16 @@ module CodeInjection {
295295
}
296296

297297
/**
298-
* Writing to a terminal via the `node-pty` library, seen as a code injection sink.
298+
* An execution of a terminal command via the `node-pty` library, seen as a code injection sink.
299299
* Example:
300300
* ```JS
301301
* var pty = require('node-pty');
302302
* var ptyProcess = pty.spawn("bash", [], {...});
303303
* ptyProcess.write('ls\r');
304304
* ```
305305
*/
306-
class NodePTY extends Sink {
307-
NodePTY() {
306+
class NodePty extends Sink {
307+
NodePty() {
308308
this =
309309
API::moduleImport("node-pty")
310310
.getMember("spawn")

0 commit comments

Comments
 (0)