mirror of
https://github.com/bower/bower.git
synced 2026-04-24 03:00:19 -04:00
Unnecessary check.
This commit is contained in:
3
lib/commands/cache/clean.js
vendored
3
lib/commands/cache/clean.js
vendored
@@ -64,8 +64,7 @@ function clearPackages(decEndpoints, config, logger) {
|
||||
// Check if name or source match the entry
|
||||
if (decEndpoint.name !== entryPkgMeta.name &&
|
||||
decEndpoint.source !== entryPkgMeta.name &&
|
||||
decEndpoint.source !== entryPkgMeta._source &&
|
||||
decEndpoint.source !== entryPkgMeta._originalSource
|
||||
decEndpoint.source !== entryPkgMeta._source
|
||||
) {
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user