fix(nx): global cli warning false positives
This commit is contained in:
parent
790f1748d2
commit
d3dc2f4647
@ -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:
|
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
|
- version of Nx used
|
||||||
- `workspace.json` or `angular.json` configuration
|
|
||||||
- `yarn.lock` or `package-lock.json`
|
- `yarn.lock` or `package-lock.json`
|
||||||
- and most importantly - a use-case that fails
|
- and most importantly - a use-case that fails
|
||||||
|
|
||||||
|
|||||||
@ -59,9 +59,7 @@ if (workspace) {
|
|||||||
if (w) {
|
if (w) {
|
||||||
require(path.join(w.dir, 'node_modules', '@nrwl', 'cli', 'bin', 'nx.js'));
|
require(path.join(w.dir, 'node_modules', '@nrwl', 'cli', 'bin', 'nx.js'));
|
||||||
} else {
|
} else {
|
||||||
console.error(
|
console.log(`The current directory isn't part of an Nx workspace.`);
|
||||||
`Error: The current directory isn't part of an Nx workspace.`
|
process.exit(0);
|
||||||
);
|
|
||||||
process.exit(1);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user