Skip to content

Commit

Permalink
fix(core): await output drain before exiting show
Browse files Browse the repository at this point in the history
  • Loading branch information
AgentEnder committed Oct 23, 2023
1 parent f619c80 commit c1eed89
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 'nx/src/devkit-exports';
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 c1eed89

Please sign in to comment.