Don't detect empty strings.
This commit is contained in:
parent
253110ac6f
commit
d9b94c1dcf
|
@ -7,7 +7,7 @@ export function stringContainsSecret(str: string) {
|
||||||
|
|
||||||
for (const key of SECRETS) {
|
for (const key of SECRETS) {
|
||||||
const value = environment[key]
|
const value = environment[key]
|
||||||
if (typeof value !== "string") {
|
if (typeof value !== "string" || value === "") {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue