From d7ddbcbe918519016c5fbbc0f79a597ab8a16db0 Mon Sep 17 00:00:00 2001 From: ilan Date: Wed, 7 Sep 2022 17:59:37 +0300 Subject: [PATCH] 0.5.4 hotfix --- CHANGELOG.md | 4 ++++ package-lock.json | 4 ++-- package.json | 2 +- src/devEnvs.ts | 3 ++- 4 files changed, 9 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e573755..e07323f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Change Log +# [0.5.4] (2022-09-07) + +- Hotfix for **Install XSOAR local development environment**. + # [0.5.3] (2022-09-07) - Fixed installation of `poetry install` in M1 MacOS. diff --git a/package-lock.json b/package-lock.json index b83030d..23eeeac 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "xsoar", - "version": "0.5.3", + "version": "0.5.4", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "xsoar", - "version": "0.5.3", + "version": "0.5.4", "license": "SEE LICENSE IN LICENSE", "dependencies": { "envfile": "^6.17.0", diff --git a/package.json b/package.json index d668604..55c3275 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "xsoar", "displayName": "Cortex XSOAR", "description": "Build, Format, and Validate Cortex XSOAR with ease.", - "version": "0.5.3", + "version": "0.5.4", "engines": { "vscode": "^1.54.0" }, diff --git a/src/devEnvs.ts b/src/devEnvs.ts index f46fb76..3e621a9 100644 --- a/src/devEnvs.ts +++ b/src/devEnvs.ts @@ -471,10 +471,11 @@ export async function openInVirtualenv(dirPath: string): Promise { async function bootstrapContent(dirPath: string, shouldPreCommit: boolean) { Logger.info('Bootstrap content') - let command = `export PATH=/opt/homebrew/bin:"$PATH" && ${dirPath}/.hooks/bootstrap` + let command = `${dirPath}/.hooks/bootstrap` if (!shouldPreCommit) { command = `NO_HOOKS=1 ${command}` } + command = `export PATH=/opt/homebrew/bin:"$PATH" && ${command}` const task = new vscode.Task( { type: 'bootstrap', name: 'Bootstrap content' }, vscode.TaskScope.Workspace,