Skip to content

Commit

Permalink
chore(core): remove extra condition
Browse files Browse the repository at this point in the history
  • Loading branch information
meteorlxy committed Apr 16, 2021
1 parent ee1f4b9 commit 89b406b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@vuepress/core/src/app/createAppVersion.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
* Create version of vuepress app
*/
export const createAppVersion = (): string => {
return require('../../package.json')?.version || ''
return require('../../package.json').version
}

0 comments on commit 89b406b

Please sign in to comment.