Skip to content

Commit

Permalink
fix(cli-utils): Fix typo in package.json loading
Browse files Browse the repository at this point in the history
  • Loading branch information
kitten committed Jul 31, 2024
1 parent 8ee74e4 commit 02aff42
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/cli-utils/src/commands/doctor/runner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@ export async function* run(): AsyncIterable<ComposeInput> {
// Check TypeScript version
let packageJson: versions.PackageJson;
try {
// packageJson = await versions.readPackageJson();
packageJson = {};
packageJson = await versions.readPackageJson();
} catch (_error) {
yield logger.failedTask(Messages.CHECK_TS_VERSION);
throw logger.errorMessage(
Expand Down

0 comments on commit 02aff42

Please sign in to comment.