1
0
mirror of https://github.com/securego/gosec.git synced 2024-12-28 21:08:22 +02:00
gosec/testutils
bean.zhang a624254e39
Update hardcoded_credentials.go fix: adaper equal expr which const value at left (#917)
* Update hardcoded_credentials.go

adaper equal expr which const value at left.
```
if "Tr0ub4dour_UPL&&LOlo" == pwd
```

* Update hardcoded_credentials.go

check ident not equal nil

* adapter const == key hardcoded, add testcases
2023-01-31 09:52:37 +01:00
..
log.go Major rework of codebase 2017-07-19 15:17:00 -06:00
pkg.go chore: fix lint warnings 2022-08-08 10:56:19 +02:00
source.go Update hardcoded_credentials.go fix: adaper equal expr which const value at left (#917) 2023-01-31 09:52:37 +01:00
visitor.go Handle properly the gosec module version v2 2020-04-06 09:06:23 -07:00