Skip to content

Commit

Permalink
Update runner.node.mjs
Browse files Browse the repository at this point in the history
  • Loading branch information
Jarred-Sumner committed Sep 27, 2024
1 parent fc1ae69 commit 70cd12e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/runner.node.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -1269,7 +1269,7 @@ function getBuildLabel() {
* @returns {string | undefined}
*/
function getFileUrl(file, line) {
if (isAbsolute(filePath)) {
if (isAbsolute(filePath) && filePath.includes(cwd)) {
file = relative(cwd, filePath);
}

Expand Down

0 comments on commit 70cd12e

Please sign in to comment.