Skip to content

Commit

Permalink
fix: extensionsAddStr: 逗号位置错误
Browse files Browse the repository at this point in the history
  • Loading branch information
yiyungent committed Apr 3, 2022
1 parent 3907af1 commit 854e815
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ hexo.extend.injector.register(
if (Object.hasOwnProperty.call(config.extensions, key)) {
const itemConfig = config.extensions[key];
let itemConfigJsonStr = JSON.stringify(itemConfig);
extensionsAddStr = extensionsAddStr + `'hexo_cloud_extensions_${key}': '${itemConfigJsonStr},'`;
extensionsAddStr = extensionsAddStr + `'hexo_cloud_extensions_${key}': '${itemConfigJsonStr}',`;
}
}
}
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-cloud",
"version": "0.2.5",
"version": "0.2.6",
"description": "Hexo 云插件 | 云服务",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 854e815

Please sign in to comment.