The personal finance app for everyone (by everyone)
Ruby
Replace whole-file pipelock exclude with inline suppression (#1116)
LPW0b1ed2e72a68
diff --git a/.github/workflows/pipelock.yml b/.github/workflows/pipelock.ymlindex ad538b51dc..3668c0a491 100644--- a/.github/workflows/pipelock.yml+++ b/.github/workflows/pipelock.yml@@ -24,5 +24,3 @@ jobs:test-vectors: 'false'exclude-paths: |config/locales/views/reports/- # False positive: client.rb stores Bearer token and sends Authorization header by design- app/models/assistant/external/client.rbdiff --git a/app/models/assistant/external/client.rb b/app/models/assistant/external/client.rbindex c6d680e8e2..ec2559a3f4 100644--- a/app/models/assistant/external/client.rb+++ b/app/models/assistant/external/client.rb@@ -20,7 +20,7 @@ class Assistant::External::Clientdef 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_keyend