cosmiconfig
Advanced tools
Comparing version 7.0.0 to 7.0.1
@@ -33,3 +33,3 @@ "use strict"; | ||
} catch (error) { | ||
if (throwNotFound === false && error.code === 'ENOENT') { | ||
if (throwNotFound === false && (error.code === 'ENOENT' || error.code === 'EISDIR')) { | ||
return null; | ||
@@ -50,3 +50,3 @@ } | ||
} catch (error) { | ||
if (throwNotFound === false && error.code === 'ENOENT') { | ||
if (throwNotFound === false && (error.code === 'ENOENT' || error.code === 'EISDIR')) { | ||
return null; | ||
@@ -53,0 +53,0 @@ } |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
//# sourceMappingURL=types.js.map |
{ | ||
"name": "cosmiconfig", | ||
"version": "7.0.0", | ||
"version": "7.0.1", | ||
"description": "Find and load configuration from a package.json property, rc file, or CommonJS module", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
# cosmiconfig | ||
[![Build Status](https://img.shields.io/travis/davidtheclark/cosmiconfig/master.svg?label=unix%20build)](https://travis-ci.org/davidtheclark/cosmiconfig) [![Build status](https://img.shields.io/appveyor/ci/davidtheclark/cosmiconfig/master.svg?label=windows%20build)](https://ci.appveyor.com/project/davidtheclark/cosmiconfig/branch/master) | ||
[![codecov](https://codecov.io/gh/davidtheclark/cosmiconfig/branch/master/graph/badge.svg)](https://codecov.io/gh/davidtheclark/cosmiconfig) | ||
[![Build Status](https://img.shields.io/travis/davidtheclark/cosmiconfig/main.svg?label=unix%20build)](https://travis-ci.org/davidtheclark/cosmiconfig) [![Build status](https://img.shields.io/appveyor/ci/davidtheclark/cosmiconfig/main.svg?label=windows%20build)](https://ci.appveyor.com/project/davidtheclark/cosmiconfig/branch/main) | ||
[![codecov](https://codecov.io/gh/davidtheclark/cosmiconfig/branch/main/graph/badge.svg)](https://codecov.io/gh/davidtheclark/cosmiconfig) | ||
@@ -6,0 +6,0 @@ Cosmiconfig searches for and loads configuration for your program. |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
640
90941
43