Skip to content

Commit

Permalink
fix(create): fix package.json path
Browse files Browse the repository at this point in the history
  • Loading branch information
Mister-Hope committed Apr 16, 2022
1 parent 813245a commit df25e7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/create/src/index.ts
Expand Up @@ -19,7 +19,7 @@ import { getRegistry } from "./registry";

const cli = cac("vuepress-theme-hope");
// eslint-disable-next-line
const version = require("../..//package.json").version as string;
const version = require("../../package.json").version as string;

cli
.command("[dir]", "Generate a new vuepress-theme-hope project")
Expand Down

0 comments on commit df25e7a

Please sign in to comment.