stop looking for configs in babel-doctor when we get to the root
This commit is contained in:
parent
c004777efa
commit
9110cbfbc8
@ -13,6 +13,11 @@ _Note: Gaps between patch versions are faulty, broken or test releases._
|
||||
|
||||
See [CHANGELOG - 6to5](CHANGELOG-6to5.md) for the pre-4.0.0 version changelog.
|
||||
|
||||
## 6.1.1
|
||||
|
||||
* **Bug Fix**
|
||||
* Stop looking for configs in `babel-doctor` when we get to the root.
|
||||
|
||||
## 6.1.0
|
||||
|
||||
* **New Feature**
|
||||
|
||||
@ -7,6 +7,7 @@ export default async function () {
|
||||
|
||||
do {
|
||||
let loc = parts.join(path.sep);
|
||||
if (!loc) break;
|
||||
|
||||
let babelrc = path.join(loc, ".babelrc");
|
||||
if (fs.existsSync(babelrc)) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user