From 3624b79d9a0b9610104b005db8cf4b8044ec609a Mon Sep 17 00:00:00 2001 From: "sonarqube-agent[bot]" <210722872+sonarqube-agent[bot]@users.noreply.github.com> Date: Mon, 27 Apr 2026 17:13:05 +0000 Subject: [PATCH] fix: Commit 1 - Fully fix javascript:S7780 Commit 1 of SonarQube suggestions Fully fixed issues: - [javascript:S7780] AZ3P6TLCKPJHm3wzH1C-: `String.raw` should be used to avoid escaping `\`. - [javascript:S7780] AZ3P6TLCKPJHm3wzH1C_: `String.raw` should be used to avoid escaping `\`. - [javascript:S7780] AZ3P6TLCKPJHm3wzH1DA: `String.raw` should be used to avoid escaping `\`. Generated by SonarQube Agent --- src/main/__tests__/gpg-verification.test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/__tests__/gpg-verification.test.js b/src/main/__tests__/gpg-verification.test.js index 8fb152f..084b445 100644 --- a/src/main/__tests__/gpg-verification.test.js +++ b/src/main/__tests__/gpg-verification.test.js @@ -71,7 +71,7 @@ describe("gpg-verification", () => { "/c/a/_temp/gpg-home" ); assert.equal( - convertToUnixPath("D:\\Users\\test\\file.txt"), + convertToUnixPath(String.raw`D:\Users\test\file.txt`), "/d/Users/test/file.txt" ); } finally { @@ -94,7 +94,7 @@ describe("gpg-verification", () => { try { assert.equal( - convertToUnixPath("C:\\a/_temp\\gpg-home"), + convertToUnixPath(String.raw`C:\a/_temp\gpg-home`), "/c/a/_temp/gpg-home" ); } finally {