Skip to content

Commit c84e70c

Browse files
committed
fix pathing issue in version command
1 parent 5071ac9 commit c84e70c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/lib/patternlab.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ var patternlab_engine = function (config) {
7777
plutils = require('./utilities'),
7878
patternlab = {};
7979

80-
patternlab.package = fs.readJSONSync('./package.json');
80+
patternlab.package = fs.readJSONSync(path.resolve(__dirname, '../../package.json'));
8181
patternlab.config = config || fs.readJSONSync(path.resolve(__dirname, '../../patternlab-config.json'));
8282

8383
var paths = patternlab.config.paths;

0 commit comments

Comments
 (0)