Use local svgo.cmd wrapper binary
Switch SVG optimizer resolution from bin/svgo-cli.exe to bin/svgo.cmd. Update unit tests to validate the new local binary path behavior. Co-Authored-By: Abacus.AI CLI <agent@abacus.ai>
This commit is contained in:
+12
@@ -0,0 +1,12 @@
|
||||
'use strict';
|
||||
|
||||
function hasNoChildren(node) {
|
||||
return !node || !node.children || node.children.isEmpty;
|
||||
}
|
||||
|
||||
function isNodeChildrenList(node, list) {
|
||||
return node !== null && node.children === list;
|
||||
}
|
||||
|
||||
exports.hasNoChildren = hasNoChildren;
|
||||
exports.isNodeChildrenList = isNodeChildrenList;
|
||||
Reference in New Issue
Block a user