Fix a bug when analyzing an SVG with a syntax error

This commit is contained in:
Gaël Métais
2016-07-15 11:36:31 +08:00
parent c20cacac99
commit 796ee5516f
2 changed files with 4 additions and 2 deletions
+3 -1
View File
@@ -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
View File
@@ -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": {