Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 3f18eab

Browse files
committedAug 18, 2020
fix(misc): fix exit code for running nx outside of a workspace
1 parent fa9c790 commit 3f18eab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

Diff for: ‎packages/cli/lib/init-global.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,6 @@ export function initGlobal() {
5252
output.note({
5353
title: `For more information please visit https://nx.dev/`,
5454
});
55-
process.exit(0);
55+
process.exit(1);
5656
}
5757
}

0 commit comments

Comments
 (0)
Please sign in to comment.