stop looking for configs in babel-doctor when we get to the root

This commit is contained in:
Sebastian McKenzie 2015-11-03 10:20:57 +00:00
parent c004777efa
commit 9110cbfbc8
2 changed files with 6 additions and 0 deletions

View File

@ -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**

View File

@ -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)) {