Skip to content

Commit

Permalink
fix: make the plugin work when lang is not set
Browse files Browse the repository at this point in the history
  • Loading branch information
meteorlxy committed Mar 1, 2019
1 parent 751b4ca commit 96f0393
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const path = require('path')

module.exports = ({
comments = {},
lang,
lang = require('./langs/en-US'),
}, ctx) => {
const options = {
name: 'vuepress-theme-meteorlxy',
Expand Down

0 comments on commit 96f0393

Please sign in to comment.