Comparing version 0.8.4 to 0.8.5
# Changelog | ||
## 0.8.5 - 2013-03-04 | ||
- Fix `cache-clean` command clearing the completion cache when the command was called with specific packages | ||
- Add error message when an error is caught parsing an invalid `component.json` | ||
## 0.8.4 - 2013-03-01 | ||
@@ -4,0 +8,0 @@ |
@@ -126,2 +126,5 @@ // ========================================== | ||
completion: function (next) { | ||
// Do not run completion cache if packages where passed | ||
if (pkgs && pkgs.length) return next(); | ||
rimraf(config.completion, function (err) { | ||
@@ -128,0 +131,0 @@ if (err) { |
@@ -66,5 +66,5 @@ // ========================================== | ||
try { | ||
this.json = JSON.parse(json); | ||
this.json = JSON.parse(json); | ||
} catch (e) { | ||
return this.emit('error', new Error('There was an error while reading the ' + config.json)); | ||
return this.emit('error', new Error('There was an error while reading the ' + config.json + ': ' + e.message)); | ||
} | ||
@@ -71,0 +71,0 @@ this.name = this.json.name; |
{ | ||
"name": "bower", | ||
"description": "The browser package manager.", | ||
"version": "0.8.4", | ||
"version": "0.8.5", | ||
"author": "Twitter", | ||
@@ -6,0 +6,0 @@ "licenses": [ |
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
370194
5038