esa-cli 0.0.2-beta.1 → 0.0.2-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -13,7 +13,7 @@ import path from 'path';
|
|
|
13
13
|
export function handleCheckVersion() {
|
|
14
14
|
return __awaiter(this, void 0, void 0, function* () {
|
|
15
15
|
const __dirname = getDirName(import.meta.url);
|
|
16
|
-
const packageJsonPath = path.join(__dirname, '..', 'package.json');
|
|
16
|
+
const packageJsonPath = path.join(__dirname, '..', '..', 'package.json');
|
|
17
17
|
try {
|
|
18
18
|
const jsonString = yield fs.readFile(packageJsonPath, 'utf-8');
|
|
19
19
|
const packageJson = JSON.parse(jsonString);
|