configfiles
Advanced tools
Comparing version 0.3.0 to 0.3.1
@@ -44,3 +44,8 @@ module.exports = function (input) { | ||
// if we only have an array, make it sources | ||
if (Array.isArray(input)) { | ||
return { src: input }; | ||
} | ||
throw new Error('Unable to normalize files: '+input); | ||
}; |
{ | ||
"name": "configfiles", | ||
"description": "Get files from a configuration using globule.", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"homepage": "https://github.com/tkellen/node-configfiles", | ||
@@ -6,0 +6,0 @@ "author": { |
@@ -71,2 +71,8 @@ # configfiles [![Build Status](https://secure.travis-ci.org/tkellen/node-configfiles.png)](http://travis-ci.org/tkellen/node-configfiles) | ||
configfiles(['test/fixtures/*.js']); | ||
// [ { src: | ||
// [ 'test/fixtures/1.js', | ||
// 'test/fixtures/2.js', | ||
// 'test/fixtures/3.js' ] } ] | ||
configfiles({ | ||
@@ -73,0 +79,0 @@ expand: true, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7236
97
87