File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
src/data/markdown/docs/20 jslib/01 jslib/01 aws/SecretsManagerClient Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ export default function () {
38
38
// List the secrets the AWS authentication configuration
39
39
// gives us access to.
40
40
const secrets = secretsManager .listSecrets ();
41
- if (! secrets .filter ((s ) => s .name === testSecretName).length == 0 ) {
41
+ if (secrets .filter ((s ) => s .name === testSecretName).length == 0 ) {
42
42
exec .test .abort (' test secret not found' );
43
43
}
44
44
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ export default function () {
34
34
// List the secrets the AWS authentication configuration
35
35
// gives us access to, and verify the test secret exists.
36
36
const secrets = secretsManager .listSecrets ();
37
- if (! secrets .filter ((s ) => s .name === testSecretName).length == 0 ) {
37
+ if (secrets .filter ((s ) => s .name === testSecretName).length == 0 ) {
38
38
exec .test .abort (' test secret not found' );
39
39
}
40
40
@@ -44,4 +44,4 @@ export default function () {
44
44
45
45
_ A k6 script that will list a user's secrets from AWS secrets manager_
46
46
47
- </CodeGroup >
47
+ </CodeGroup >
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ export default function () {
42
42
const secrets = secretsManager .listSecrets ();
43
43
44
44
// If our test secret does not exist, abort the execution.
45
- if (! secrets .filter ((s ) => s .name === testSecretName).length == 0 ) {
45
+ if (secrets .filter ((s ) => s .name === testSecretName).length == 0 ) {
46
46
exec .test .abort (' test secret not found' );
47
47
}
48
48
You can’t perform that action at this time.
0 commit comments