assets-manager
Advanced tools
Comparing version 0.2.8 to 0.2.9
@@ -85,2 +85,9 @@ 'use strict'; | ||
}, { | ||
key: 'hasDirectory', | ||
value: function hasDirectory(directory) { | ||
return _file3.default.isDirectory(_path2.default.join(this.path, directory), { | ||
cwd: _configure2.default.get('cwd', process.cwd()) | ||
}); | ||
} | ||
}, { | ||
key: 'getDests', | ||
@@ -144,3 +151,3 @@ value: function getDests() { | ||
for (var type in defination) { | ||
if (typeof defination[type] === 'string' && _file3.default.isDirectory(_path2.default.join(packagePath, defination[type]))) { | ||
if (typeof defination[type] === 'string' && this.hasDirectory(defination[type])) { | ||
types[type] = defination[type] + '/**/*'; | ||
@@ -147,0 +154,0 @@ } else if ((0, _isPlainObject2.default)(defination[type])) { |
{ | ||
"name": "assets-manager", | ||
"version": "0.2.8", | ||
"version": "0.2.9", | ||
"description": "Copy packages files based on manifest file", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/amazingSurge/assets-manager", |
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
71281
1538