Skip to content

Commit 2b05307

Browse files
author
John Doe
committed
refactor: wip 1
1 parent 256ea00 commit 2b05307

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

packages/nx-plugin/src/executors/cli/executor.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,11 @@ export default async function runAutorunExecutor(
4848
await executeProcess({
4949
command,
5050
args: [...positionals, ...args],
51-
...(envVariables && { env: envVariables }),
51+
...(envVariables && {
52+
env: Object.fromEntries(
53+
Object.entries(envVariables).map(([v, k]) => [v, `"${k}"`]),
54+
),
55+
}),
5256
...(cwd ? { cwd } : {}),
5357
});
5458
} catch (error) {

0 commit comments

Comments
 (0)