From f58c65d264746b00a9a68a1112989de1165b7f0e Mon Sep 17 00:00:00 2001 From: Nicolas Vuillamy Date: Tue, 4 Mar 2025 09:39:40 +0100 Subject: [PATCH] Do not display error message if sf is installed via CodeBuilder --- CHANGELOG.md | 4 ++++ src/hardis-plugins-provider.ts | 1 + 2 files changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2cdba09..9069199 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ - Add your updates here :) +## [5.8.1] 2024-03-04 + +- Do not display error message if sf is installed via CodeBuilder + ## [5.8.0] 2024-02-27 - Add PDF generation commands diff --git a/src/hardis-plugins-provider.ts b/src/hardis-plugins-provider.ts index 15f8d62..39b00a8 100644 --- a/src/hardis-plugins-provider.ts +++ b/src/hardis-plugins-provider.ts @@ -327,6 +327,7 @@ export class HardisPluginsProvider !sfdxPath.includes("npm") && !sfdxPath.includes("node") && !sfdxPath.includes("nvm") && + !sfdxPath.includes("/home/codebuilder/.sf/bin/sf") && !( sfdxPath.includes("/usr/local/bin") && process.platform === "darwin" ) &&