mirror of
https://github.com/svg/svgo.git
synced 2025-08-07 15:22:54 +03:00
This commit is contained in:
@@ -66,7 +66,7 @@ function getResult(name, index) {
|
||||
.then(function(input) {
|
||||
mySVGO.enableOnlyOne(name);
|
||||
|
||||
return mySVGO.optimize(input.toString());
|
||||
return mySVGO.fromString(input.toString());
|
||||
})
|
||||
.then(function(min) {
|
||||
return readFile(name + '.' + index +'.should.svg')
|
||||
|
Reference in New Issue
Block a user