Skip to content

Commit

Permalink
resolve path
Browse files Browse the repository at this point in the history
  • Loading branch information
kla committed Oct 11, 2024
1 parent 0ab4453 commit d61dbdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/location.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export default class Location {
}

readSync(file: string): string {
return readFileSync(path.join(this.source, file), 'utf-8')
return readFileSync(path.resolve(path.join(this.source, file)), 'utf-8')
}
}

Expand Down

0 comments on commit d61dbdf

Please sign in to comment.