From 87c1a1a72c1ecfcb129f3f0de42d67f528eec098 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:08 +0000 Subject: [PATCH] fix: Commit 2 - Fully fix javascript:S7781 Commit 2 of SonarQube suggestions Fully fixed issues: - [javascript:S7781] AZ3P6TM6KPJHm3wzH1DD: Prefer `String#replaceAll()` over `String#replace()`. Generated by SonarQube Agent --- src/main/gpg-verification.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/gpg-verification.js b/src/main/gpg-verification.js index 04f066f..8092627 100644 --- a/src/main/gpg-verification.js +++ b/src/main/gpg-verification.js @@ -111,7 +111,7 @@ export function convertToUnixPath(windowsPath) { } // Convert backslashes to forward slashes - let unixPath = windowsPath.replaceAll('\\', "/"); + let unixPath = windowsPath.replaceAll("\\", "/"); // Convert drive letter (e.g., C: -> /c) unixPath = unixPath.replace(/^([A-Za-z]):/, (match, drive) => {