Skip to content

Commit

Permalink
Mjp/hyp 2920 modus cli errors (#698)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattjohnsonpint authored Jan 10, 2025
1 parent 2053f53 commit ed39ee3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@

- fix: resolve warning in `deserializeRawMap` [#692](https://github.com/hypermodeinc/modus/pull/692)

## 2025-01-09 - CLI 0.16.6

- fix: assemblyscript builds failing [#698](https://github.com/hypermodeinc/modus/pull/698)

## 2025-01-07 - CLI 0.16.5

- fix: handle space in user profile path [#696](https://github.com/hypermodeinc/modus/pull/696)
Expand Down
3 changes: 2 additions & 1 deletion cli/src/util/cp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

import util from "node:util";
import cp from "node:child_process";
import path from "node:path";

/**
* Promisified version of `child_process.execFile`.
Expand All @@ -27,7 +28,7 @@ export { exec };
*/
export async function execFileWithExitCode(file: string, args?: string[], options?: cp.ExecFileOptions): Promise<{ stdout: string; stderr: string; exitCode: number }> {
return new Promise((resolve, reject) => {
if (options?.shell) {
if (options?.shell && path.isAbsolute(file)) {
file = `"${file}"`;
}

Expand Down

0 comments on commit ed39ee3

Please sign in to comment.