Replace whole-file pipelock exclude with inline suppression (#1116)

Use `# pipelock:ignore Credential in URL` on the specific false
positive line instead of excluding all of client.rb from scanning.
The rest of the file is now scanned normally.
This commit is contained in:
LPW
2026-03-04 05:23:14 -05:00
committed by GitHub
parent 4a3a55d767
commit 0b1ed2e72a
2 changed files with 1 additions and 3 deletions

View File

@@ -20,7 +20,7 @@ class Assistant::External::Client
def initialize(url:, token:, agent_id: "main", session_key: "agent:main:main")
@url = url
@token = token
@token = token # pipelock:ignore Credential in URL
@agent_id = agent_id
@session_key = session_key
end