Skip to content

Commit 42a9962

Browse files
committed
make shellJSMember predicate private, improve predicate document
1 parent f1a7f0a commit 42a9962

File tree

1 file changed

+2
-2
lines changed
  • javascript/ql/lib/semmle/javascript/frameworks

1 file changed

+2
-2
lines changed

javascript/ql/lib/semmle/javascript/frameworks/ShellJS.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
import javascript
88

99
module ShellJS {
10-
API::Node shellJSMember() {
10+
private API::Node shellJSMember() {
1111
result = API::moduleImport("shelljs")
1212
or
1313
result =
@@ -20,7 +20,7 @@ module ShellJS {
2020
}
2121

2222
/**
23-
* Gets an import of the `shelljs` or `async-shelljs` module.
23+
* Gets a function that can execute a shell command using the `shelljs` or `async-shelljs` modules.
2424
*/
2525
DataFlow::SourceNode shelljs() {
2626
result = shellJSMember().asSource() or

0 commit comments

Comments
 (0)