Skip to content

Commit

Permalink
fix: relativize tracked file path before resolving it
Browse files Browse the repository at this point in the history
  • Loading branch information
jdharvey-ibm committed Nov 17, 2023
1 parent 4c46ae0 commit 4be0b35
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/core/tracked-file-enumerator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ export class TrackedFileEnumerator extends Loggable {

return allFiles
.filter((_file, index) => checks[index] === true)
.map((file) => path.resolve(file))
.map((file) => path.relative(root, file))
.map((file) => path.resolve(root, file))
}
}

0 comments on commit 4be0b35

Please sign in to comment.