diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 6cbd791540730..b67a5f3f4795b 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -77,7 +77,6 @@ Before you submit an issue, please search the issue tracker. An issue for your p We want to fix all the issues as soon as possible, but before fixing a bug we need to reproduce and confirm it. Having a reproducible scenario gives us wealth of important information without going back and forth with you requiring additional information, such as: - version of Nx used -- `workspace.json` or `angular.json` configuration - `yarn.lock` or `package-lock.json` - and most importantly - a use-case that fails diff --git a/packages/cli/bin/nx.ts b/packages/cli/bin/nx.ts index 0e7fac774016e..4f3118104d6b1 100644 --- a/packages/cli/bin/nx.ts +++ b/packages/cli/bin/nx.ts @@ -59,9 +59,7 @@ if (workspace) { if (w) { require(path.join(w.dir, 'node_modules', '@nrwl', 'cli', 'bin', 'nx.js')); } else { - console.error( - `Error: The current directory isn't part of an Nx workspace.` - ); - process.exit(1); + console.log(`The current directory isn't part of an Nx workspace.`); + process.exit(0); } }