Will eating junk food harm my baby?

I've been really scared about eating too much junk cause i'm afraid of hurting my baby. I don't care about weight gain since i had awful awful morning sickness and am actually a lower weight than before i got pregnant and i'm 24 weeks. But i just gave in and ate like 6 reese's peanut butter bars (Betty crocker no bake) is my baby going to suffer from that? I try to eat a balanced diet but today gave in :/ Also i just got tested this week for Gestational Diabetes and i don't have it.