mem-fs-editor
Advanced tools
Comparing version 2.0.2 to 2.0.3
'use strict'; | ||
var assert = require('assert'); | ||
var path = require('path'); | ||
var _ = require('lodash'); | ||
@@ -17,2 +18,8 @@ var globby = require('globby'); | ||
module.exports = function (paths, options) { | ||
if (!Array.isArray(paths)) { | ||
paths = [paths]; | ||
} | ||
paths = paths.map(function (filePath) { | ||
return path.resolve(filePath); | ||
}); | ||
paths = util.globify(paths); | ||
@@ -19,0 +26,0 @@ options = options || {}; |
{ | ||
"name": "mem-fs-editor", | ||
"version": "2.0.2", | ||
"version": "2.0.3", | ||
"description": "File edition helpers working on top of mem-fs", | ||
@@ -5,0 +5,0 @@ "scripts": { |
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
13087
253