will sugar cravings affect my baby?

I'm 32 weeks and I haven't been able to kick my sugar cravings. I still eat quite a bit of sugar but not as much as I used to. will this hurt my baby? I do not have gestational diabeties