Skip to content

Commit 85e5b6d

Browse files
Potential fix for pull request finding 'CodeQL / Clear-text logging of sensitive information'
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> Signed-off-by: Raileen Del Rosario <43893067+raileendr@users.noreply.github.com>
1 parent 0958b01 commit 85e5b6d

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

scripts/test_all_mcp_tools.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -125,9 +125,9 @@ def test_tool(self, tool_name, params, description=""):
125125
print(f"Testing: {tool_name}")
126126
if description:
127127
print(f"Description: {description}")
128-
param_keys = list(params.keys()) if isinstance(params, dict) else None
129-
if param_keys is not None:
130-
print(f"Parameters (keys only): {param_keys}")
128+
param_count = len(params) if isinstance(params, dict) else None
129+
if param_count is not None:
130+
print(f"Parameters: {param_count} key(s)")
131131
else:
132132
print("Parameters: <non-dict value>")
133133
print(f"{'='*80}")

0 commit comments

Comments
 (0)