I am using magento 2.4 EE.
I have created a custom cart rule but issue i am facing with it is
when discount is 0 then also it applies on cart.
I want to know which files is responsible for preventing coupon code/cart rule to apply when discount amount of applied coupon is 0.
I have checked on magento sales rule module but did not getting much clue