@datkt/konanc-config
Advanced tools
Comparing version 5.0.1 to 5.0.2
@@ -0,1 +1,11 @@ | ||
<a name="5.0.2"></a> | ||
## [5.0.2](https://github.com/datkt/konanc-config/compare/5.0.1...5.0.2) (2018-11-07) | ||
### Bug Fixes | ||
* **index.js:** Fix case when 'repos' is non-interable ([d9ad47e](https://github.com/datkt/konanc-config/commit/d9ad47e)) | ||
<a name="5.0.1"></a> | ||
@@ -2,0 +12,0 @@ ## [5.0.1](https://github.com/datkt/konanc-config/compare/5.0.0...5.0.1) (2018-11-07) |
@@ -132,5 +132,7 @@ const { extname, dirname, resolve } = require('path') | ||
merge(conf, load(prefixed, defaults, env)) | ||
for (const repo of repos) { | ||
if (repo && 'string' === typeof repo) { | ||
merge(conf, load(resolve(repo, dep), defaults, env)) | ||
if (Array.isArray(repos)) { | ||
for (const repo of repos) { | ||
if (repo && 'string' === typeof repo) { | ||
merge(conf, load(resolve(repo, dep), defaults, env)) | ||
} | ||
} | ||
@@ -137,0 +139,0 @@ } |
{ | ||
"name": "@datkt/konanc-config", | ||
"version": "5.0.1", | ||
"version": "5.0.2", | ||
"description": "Command line utility to read '*.kc' konanc config files to print compiler flags", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
19087
172