Skip to content

Commit 3bc9e40

Browse files
committed
Fixed #16
1 parent 517ab5d commit 3bc9e40

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

move_config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ const fs = require('fs')
22

33
if (fs.existsSync('../hexo/package.json')){
44
const version = JSON.parse(fs.readFileSync('../hexo/package.json')).version
5-
if (version.split('.')[0].imcludes('5')) {
5+
if (version.split('.')[0].includes('5')) {
66
const oldConfigPath = '../../source/_data/webstack.yml'
77
const configPath = '../../_config.webstack.yml'
88
if (!fs.existsSync(configPath) && !fs.existsSync(oldConfigPath)) {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "hexo-theme-webstack",
3-
"version": "2.0.7",
3+
"version": "2.0.8",
44
"description": "A hexo theme based on webstack.",
55
"keywords": [
66
"hexo",

0 commit comments

Comments
 (0)