Skip to content

Commit fe65314

Browse files
committed
CodeQL error fix
1 parent cc79cfb commit fe65314

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

examples/sdk_example/src/pam/rotation/edit_rotation.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ async function editRotationExample() {
175175
logger.info(` Schedule: ${input.onDemand ? "On-Demand" : "Custom"}`);
176176
}
177177
if (passwordComplexity) {
178-
logger.info(` Complexity: ${JSON.stringify(passwordComplexity)}`);
178+
logger.info(" Complexity: configured");
179179
}
180180
if (enable || disable) {
181181
logger.info(` Enabled: ${enable === true}`);
@@ -220,8 +220,7 @@ async function editRotationExample() {
220220
logger.info(` Config UID: ${record.configUid || "N/A"}`);
221221
logger.info(` Resource UID: ${record.resourceUid || "N/A"}`);
222222
logger.info(` Schedule: ${record.schedule}`);
223-
if (record.complexity)
224-
logger.info(` Complexity: ${record.complexity}`);
223+
if (record.complexity) logger.info(" Complexity: configured");
225224
});
226225
}
227226

0 commit comments

Comments
 (0)