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
This commit is contained in:
sonarqube-agent[bot] 2026-04-27 17:13:05 +00:00 committed by GitHub
parent daf2073c97
commit 3624b79d9a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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 {