Skip to content

Commit

Permalink
use dynamic string
Browse files Browse the repository at this point in the history
  • Loading branch information
RahulGautamSingh committed Jul 17, 2024
1 parent 6f8c2d0 commit 52da301
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/expose.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
/**
* returns renovates package.json
*/
const pkg = (() => require('../package.json'))();
const path = (() => require('path'))();
const filePath = path.join(__dirname, '..', 'package.json');
const pkg = (() => require(filePath))();

/**
* return's re2
Expand Down

0 comments on commit 52da301

Please sign in to comment.