Potential fix for code scanning alert no. 110: Replacement of a substring with itself

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
This commit is contained in:
Mingholy 2026-03-26 21:41:10 +08:00 committed by GitHub
parent 3edbf561e6
commit 849a7327eb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1122,7 +1122,7 @@ describe('Tool Control Parameters (E2E)', () => {
...input,
file_path: (input['file_path'] as string).replace(
'test.txt',
'test.txt',
'./test.txt',
),
};
return { behavior: 'allow', updatedInput: modifiedInput };