mirror of
https://github.com/svg/svgo.git
synced 2025-07-29 20:21:14 +03:00
plugins/removeComments: ignore comments which starts with 'git st' (close (#43)
This commit is contained in:
@ -13,6 +13,8 @@
|
||||
*/
|
||||
exports.removeComments = function(item, params) {
|
||||
|
||||
return !item.comment;
|
||||
if (item.comment && item.comment.charAt(0) !== '!') {
|
||||
return false;
|
||||
}
|
||||
|
||||
};
|
||||
|
Reference in New Issue
Block a user