Fix a bug when analyzing an SVG with a syntax error
This commit is contained in:
@@ -219,7 +219,9 @@ var ImageOptimizer = function() {
|
||||
})
|
||||
|
||||
.catch(function(err) {
|
||||
deferred.reject(file);
|
||||
debug('Optimisation failed:');
|
||||
debug(err);
|
||||
deferred.resolve();
|
||||
});
|
||||
|
||||
return deferred.promise;
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "yellowlabtools",
|
||||
"version": "1.11.0",
|
||||
"version": "1.11.1",
|
||||
"description": "Online tool to audit a webpage for performance and front-end quality issues",
|
||||
"license": "GPL-2.0",
|
||||
"author": {
|
||||
|
||||
Reference in New Issue
Block a user