Removed while loop with prompt

Every time I do a pull request my build fail, I believe it may be because of the loop