Skip to content

Commit acc2395

Browse files
author
John Doe
committed
refactor: wip
1 parent f2cfdcc commit acc2395

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ describe('runAutorunExecutor', () => {
2727
executeProcessSpy.mockReset();
2828
});
2929

30-
it('should parse CLI options and execute command', async () => {
30+
it('should normalize context, parse CLI options and execute command', async () => {
3131
const { success, command } = await runAutorunExecutor(
3232
{ verbose: true },
3333
executorContext('utils'),

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ export default async function runAutorunExecutor(
5656
command,
5757
args: [...positionals, ...args],
5858
...(context.cwd ? { cwd: context.cwd } : {}),
59+
env: executorEnvVariables,
5960
});
6061
} catch (error) {
6162
logger.error(stringifyError(error));

0 commit comments

Comments
 (0)