5 lines
162 B
JavaScript
5 lines
162 B
JavaScript
module.exports = function cleanDeclartion(node, item, list) {
|
|
if (node.value.children && node.value.children.isEmpty()) {
|
|
list.remove(item);
|
|
}
|
|
};
|