mirror of
https://github.com/github/codeql.git
synced 2026-04-27 01:35:13 +02:00
simplify global var "process"
Co-Authored-By: Esben Sparre Andreasen <esbena@github.com>
This commit is contained in:
@@ -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" }
|
||||
|
||||
Reference in New Issue
Block a user