Please sign in to comment.
coverage: pass cwd to path.resolve() in setup
During coverage setup, path.resolve() is called. path.resolve() can potentially call process.cwd(), which hasn't been bootstrapped yet. This commit passes the current working directory directly so that path.resolve() doesn't attempt to compute it. PR-URL: #25289 Fixes: #25287 Reviewed-By: Anna Henningsen <firstname.lastname@example.org> Reviewed-By: Gus Caplan <email@example.com> Reviewed-By: Yuta Hiroto <firstname.lastname@example.org> Reviewed-By: Joyee Cheung <email@example.com> Reviewed-By: Luigi Pinca <firstname.lastname@example.org> Reviewed-By: James M Snell <email@example.com> Backport-PR-URL: #25496
- Loading branch information...