cocaine during pregnancy

my friend is 18 weeks pregnant and I heard she took cocaine last night at a party. I want to confront her about it but do yous think she could have harmed her baby? as far as I know this is the first time she has done it.

**Update**

she doesn't struggle with addiction she has had a few rough weeks and said it is a one off and won't happen again? she is panicking wondering if the hospital will find out or would a few lines have damaged her baby?