mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-14 21:53:35 +03:00
a403d4beff
We always have to reject promises with some error. Otherwise, our error-rewriting logic in try-catch miserably fails. With this patch, attempt to launch Firefox when it's missing dependencies will actually result in a thrown exception with pretty logs. Without this patch, Playwright throws internal error.
4 lines
38 B
JavaScript
Executable File
4 lines
38 B
JavaScript
Executable File
#!/usr/bin/env node
|
|
|
|
process.exit(1);
|