mirror of
https://github.com/SonarSource/sonarqube-scan-action.git
synced 2026-05-23 18:35:56 +00:00
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:
parent
daf2073c97
commit
3624b79d9a
1 changed files with 2 additions and 2 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue