Skip to content

Commit

Permalink
fix: use path.resolve instead of join
Browse files Browse the repository at this point in the history
  • Loading branch information
stagas committed Nov 13, 2021
1 parent 9a53d10 commit acd9005
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,5 +96,5 @@ export const finish = async () => {
if (require.main === module) {
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
const options = decarg(new Options())!
run(path.join(process.cwd(), options.filename), options)
run(path.resolve(process.cwd(), options.filename), options)
}

0 comments on commit acd9005

Please sign in to comment.