Skip to content

Commit bd4d256

Browse files
Fix condition in listSecrets
1 parent 8085fc8 commit bd4d256

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/data/markdown/docs/20 jslib/01 jslib/01 aws/SecretsManagerClient/00 listSecrets().md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export default function () {
3434
// List the secrets the AWS authentication configuration
3535
// gives us access to, and verify the test secret exists.
3636
const secrets = secretsManager.listSecrets();
37-
if (!secrets.filter((s) => s.name === testSecretName).length == 0) {
37+
if (secrets.filter((s) => s.name === testSecretName).length == 0) {
3838
exec.test.abort('test secret not found');
3939
}
4040

@@ -44,4 +44,4 @@ export default function () {
4444

4545
_A k6 script that will list a user's secrets from AWS secrets manager_
4646

47-
</CodeGroup>
47+
</CodeGroup>

0 commit comments

Comments
 (0)