Skip to content

Commit 1ffafb7

Browse files
Merge pull request #879 from pattern-lab/fix/874-packagejson-overwrite
Fix/874 packagejson overwrite
2 parents 52a08f9 + 200c7cb commit 1ffafb7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/cli/bin/install-edition.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'use strict';
22
const path = require('path');
3-
const pkg = require('../package.json');
3+
const pkg = require(path.resolve(process.cwd(), 'package.json'));
44
const {
55
checkAndInstallPackage,
66
copyAsync,

0 commit comments

Comments
 (0)