Skip to content

Commit

Permalink
fix(cli): package.json path for version info
Browse files Browse the repository at this point in the history
  • Loading branch information
simonhaenisch committed Dec 23, 2019
1 parent ae40337 commit a7a5817
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ async function main(args: typeof cliFlags, config: Config) {
setProcessAndTermTitle('md-to-pdf');

if (args['--version']) {
return console.log(require('./package').version);
return console.log(require('../package').version);
}

if (args['--help']) {
Expand Down

0 comments on commit a7a5817

Please sign in to comment.