Skip to content

Commit

Permalink
fix(core): await output drain before exiting show (nrwl#19793)
Browse files Browse the repository at this point in the history
  • Loading branch information
AgentEnder authored Oct 23, 2023
1 parent 48eb232 commit 228636c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/nx/src/command-line/show/show.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { output } from '../../utils/output';
import { NxJsonConfiguration, readNxJson } from '../../config/nx-json';
import {
ProjectGraph,
Expand Down Expand Up @@ -78,6 +79,7 @@ export async function showProjectsHandler(
console.log(project);
}
}
await output.drain();
process.exit(0);
}

Expand Down

0 comments on commit 228636c

Please sign in to comment.