jsharmony-cms 1.15.1 → 1.15.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/models/_funcs.branch.js +2 -2
- package/package.json +1 -1
package/models/_funcs.branch.js
CHANGED
|
@@ -448,10 +448,10 @@ module.exports = exports = function(module, funcs){
|
|
|
448
448
|
|
|
449
449
|
if(isFolder) {
|
|
450
450
|
//Create directory
|
|
451
|
-
|
|
451
|
+
HelperFS.createFolderRecursive(targetPath, entry_cb);
|
|
452
452
|
} else {
|
|
453
453
|
//Create parent directory
|
|
454
|
-
|
|
454
|
+
HelperFS.createFolderRecursive(path.dirname(targetPath), function(err) {
|
|
455
455
|
if (err) return entry_cb(err);
|
|
456
456
|
|
|
457
457
|
zipFile.openReadStream(entry, function(err, readStream) {
|