Skip to content

Commit ab3f5ed

Browse files
committed
refactor: adjust comments
1 parent 371e70b commit ab3f5ed

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

packages/utils/src/lib/command.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -71,14 +71,14 @@ export interface FormatCommandLogOptions {
7171
* @example
7272
*
7373
* formatCommandLog({cwd: 'tools/api', env: {API_KEY='•••' NODE_ENV='prod'}, command: 'node', args: ['cli.js', '--do', 'thing', 'fast']})
74-
* ┌─────────────────────────────────────────────────────────────────────────
75-
* │ tools/api $ API_KEY="•••" NODE_ENV="prod" node cli.js --do thing fast │
76-
* │ │ │ │ │ │
77-
* │ └ cwd │ │ │ └ args.
78-
* │ │ │ └ command
79-
* │ │ └ env variables
80-
* │ └ prompt symbol ($)
81-
* └─────────────────────────────────────────────────────────────────────────
74+
* ┌─────────────────────────────────────────────────────────────────────────┐
75+
* │ tools/api $ API_KEY="•••" NODE_ENV="prod" node cli.js --do thing fast │
76+
* │ │ │ │ │ │ │
77+
* │ └ cwd │ │ │ └ args. │
78+
* │ │ │ └ command │
79+
* │ │ └ env variables │
80+
* │ └ prompt symbol ($) │
81+
* └─────────────────────────────────────────────────────────────────────────┘
8282
*
8383
*/
8484
export function formatCommandLog(options: FormatCommandLogOptions): string {

testing/test-nx-utils/src/lib/utils/nx.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ export async function nxShowProjectJson<T extends ProjectConfiguration>(
8484
) {
8585
const { code, stderr, stdout } = await executeProcess({
8686
command: 'npx',
87-
args: ['nx', 'show', `project --json ${project}`],
87+
args: ['nx', 'show', `project ${project} --json`],
8888
cwd,
8989
});
9090

0 commit comments

Comments
 (0)