Will he ask me out?

What to do if your friend asks the guy you're talking to if y'all are gonna date but he says idk and he doesn't ruin the friendship