From a3f35013fde2d184eccd5b9e5b97e17e3f7be958 Mon Sep 17 00:00:00 2001 From: Matt Johnson-Pint Date: Tue, 29 Oct 2024 10:07:47 -0700 Subject: [PATCH] Fix Go not found on first install (#522) --- CHANGELOG.md | 10 +++++++--- cli/src/util/systemVersions.ts | 3 +-- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6612876e..d5385636 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,10 +1,14 @@ # Change Log -## 2024-01-28 - CLI Version 0.13.2 +## 2024-10-29 - CLI Version 0.13.3 -- Fix CLI hang on Linux [#522](https://github.com/hypermodeinc/modus/pull/522) +- Fix Go not found on first install [#522](https://github.com/hypermodeinc/modus/pull/522) -## 2024-01-28 - CLI Version 0.13.1 +## 2024-10-28 - CLI Version 0.13.2 + +- Fix CLI hang on Linux [#521](https://github.com/hypermodeinc/modus/pull/521) + +## 2024-10-28 - CLI Version 0.13.1 - Fix issues with interactive CLI prompts [#517](https://github.com/hypermodeinc/modus/pull/517) diff --git a/cli/src/util/systemVersions.ts b/cli/src/util/systemVersions.ts index 17b9fa60..d907e5c5 100644 --- a/cli/src/util/systemVersions.ts +++ b/cli/src/util/systemVersions.ts @@ -7,12 +7,11 @@ * SPDX-License-Identifier: Apache-2.0 */ +import process from "node:process"; import { execFile } from "./cp.js"; -import { ModusHomeDir } from "../custom/globals.js"; const EXEC_OPTIONS = { shell: true, - cwd: ModusHomeDir, env: process.env, };