mirror of
https://github.com/bower/bower.git
synced 2026-04-24 03:00:19 -04:00
push.apply to add json.ignore
This commit is contained in:
@@ -247,7 +247,7 @@ Package.prototype.cleanUpLocal = function () {
|
||||
Package.prototype.removeLocalPaths = function () {
|
||||
var removePatterns = ['.git'];
|
||||
if (this.json.ignore) {
|
||||
removePatterns = removePatterns.concat(this.json.ignore);
|
||||
removePatterns.push.apply(removePatterns, this.json.ignore);
|
||||
}
|
||||
|
||||
var removePaths = [];
|
||||
|
||||
Reference in New Issue
Block a user