Skip to content

Commit 200c7cb

Browse files
committed
fix(install): use process to find package.json
1 parent 659be93 commit 200c7cb

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)