Fix tests actually.
This commit is contained in:
parent
ea1b0d4f5c
commit
257ee8fb70
|
@ -12,7 +12,6 @@ export function stringContainsSecret(str: string) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (str.includes(value)) {
|
if (str.includes(value)) {
|
||||||
throw new Error(`String contains secret: ${key}=${value}`)
|
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue