Skip to content

Commit

Permalink
Fixed #16
Browse files Browse the repository at this point in the history
  • Loading branch information
HCLonely committed Dec 22, 2021
1 parent 517ab5d commit 3bc9e40
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion move_config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const fs = require('fs')

if (fs.existsSync('../hexo/package.json')){
const version = JSON.parse(fs.readFileSync('../hexo/package.json')).version
if (version.split('.')[0].imcludes('5')) {
if (version.split('.')[0].includes('5')) {
const oldConfigPath = '../../source/_data/webstack.yml'
const configPath = '../../_config.webstack.yml'
if (!fs.existsSync(configPath) && !fs.existsSync(oldConfigPath)) {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hexo-theme-webstack",
"version": "2.0.7",
"version": "2.0.8",
"description": "A hexo theme based on webstack.",
"keywords": [
"hexo",
Expand Down

0 comments on commit 3bc9e40

Please sign in to comment.