Skip to content

Commit b64cb4d

Browse files
committed
remove a part of code related to debugging :)
1 parent e4deb7d commit b64cb4d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,7 @@ class Configuration extends DataFlow::Configuration {
5959
n = DataFlow::globalVarRef("TextEncoder").getAnInstantiation().getAMemberCall("encode")
6060
|
6161
src = n.getArgument(0) and
62-
trg = n and
63-
n.getLocation().getFile().getRelativePath().matches("%HardcodedCredentials.js%")
62+
trg = n
6463
)
6564
or
6665
exists(DataFlow::CallNode n | n = DataFlow::globalVarRef("Buffer").getAMemberCall("from") |

0 commit comments

Comments
 (0)