Fix --stdin
regression in 1.19.0 (#6894 by @lydell)
<!-- prettier-ignore -->
// Prettier stable
$ echo "test" | prettier --stdin --parser babel
[error] regeneratorRuntime is not defined
// Prettier master
$ echo "test" | prettier --stdin --parser babel
test;
TypeScript