simplify global var "process"

Co-Authored-By: Esben Sparre Andreasen <esbena@github.com>
This commit is contained in:
Erik Krogh Kristensen
2019-10-29 13:32:38 +01:00
parent e1039d3a56
commit 1766f6a6d8

View File

@@ -148,7 +148,7 @@ module CleartextLogging {
private class ProcessEnvSource extends Source {
ProcessEnvSource() {
this = DataFlow::globalVarRef("process").getAPropertyRead("env")
this = NodeJSLib::process().getAPropertyRead("env")
}
override string describe() { result = "process environment" }