Cookie dough

Stupid question, but I just bought some cookie dough at Walmart and didn’t notice that some of the cookie dough had leaked out of the package till I got home. Would you guy just return it or would you still actually use it?