Skip to content

Commit

Permalink
fix(core): allow parsing dot notation cli args
Browse files Browse the repository at this point in the history
parse dot notation cli args for env args passed to cypress executor to override cypress.env.json
values.
i.e. nx e2e project --env.API_URL=localhost:1234
will now correctly give cypress e2e args to
override the cypress.env.json values

ISSUES CLOSED: #9764
  • Loading branch information
barbados-clemens committed Apr 12, 2022
1 parent 46e7b4d commit 1bd9c12
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/nx/src/command-line/nx-commands.ts
Expand Up @@ -25,7 +25,8 @@ yargs.wrap(yargs.terminalWidth());
export const commandsObject = yargs
.parserConfiguration({
'strip-dashed': true,
'dot-notation': false,
// allow parsing --env.SOME_ARG for cypress cli env args
'dot-notation': true,
})
.usage(
`
Expand Down

0 comments on commit 1bd9c12

Please sign in to comment.