fis-command-release
Advanced tools
Comparing version 0.12.1 to 0.12.2
{ | ||
"name": "fis-command-release", | ||
"description": "fis release command.", | ||
"version": "0.12.1", | ||
"version": "0.12.2", | ||
"author": "FIS Team <fis@baidu.com>", | ||
@@ -6,0 +6,0 @@ "homepage": "http://fis.baidu.com/", |
@@ -42,7 +42,11 @@ /* | ||
} else if (type == 'unlinkDir') { | ||
opt.srcCache.forEach(function (realpath) { | ||
if ((p = realpath.indexOf(path)) > -1) { | ||
opt.srcCache.splice(p, 1); | ||
} | ||
var toDelete = []; | ||
opt.srcCache.forEach(function(realpath, index) { | ||
realpath.indexOf(path) === 0 && toDelete.unshift(index); | ||
}); | ||
toDelete.forEach(function(index) { | ||
opt.srcCache.splice(index, 1); | ||
}); | ||
} | ||
@@ -351,2 +355,2 @@ clearTimeout(timer); | ||
}); | ||
}; | ||
}; |
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
59529
1566