mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00

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);
|