Skip to content

Commit

Permalink
feat: 修复package.json拼写错误 (#138)
Browse files Browse the repository at this point in the history
  • Loading branch information
Muyu-art authored Jul 3, 2024
1 parent 64ebc16 commit 35a58fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cli/commands/src/version.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export default async function () {
if (toolkitName) {
try {
const pkgPath = path.join(home.getModulesPath(), toolkitName, 'package.json');
log.debug(`${toolkitName} pacage.json path = ${pkgPath}`);
log.debug(`${toolkitName} package.json path = ${pkgPath}`);
const pkg = require(pkgPath);
console.log(chalk.magenta(`${toolkitName} v${pkg.version}`));
} catch (e) {
Expand Down

0 comments on commit 35a58fa

Please sign in to comment.