Skip to content

Commit

Permalink
fix: v1.11.1 - 修复一些node版本不支持可选链操作符问题
Browse files Browse the repository at this point in the history
  • Loading branch information
xugaoyi committed Apr 13, 2022
1 parent 755e302 commit cdee772
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"vuepress-plugin-one-click-copy": "^1.0.2",
"vuepress-plugin-thirdparty-search": "^1.0.2",
"vuepress-plugin-zooming": "^1.1.7",
"vuepress-theme-vdoing": "^1.11.0",
"vuepress-theme-vdoing": "^1.11.1",
"yamljs": "^0.3.0"
}
}
2 changes: 1 addition & 1 deletion vdoing/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vuepress-theme-vdoing",
"version": "1.11.0",
"version": "1.11.1",
"description": "Vdoing theme for VuePress. 一个基于VuePress的知识管理兼博客主题。",
"author": {
"name": "gaoyi(Evan) Xu"
Expand Down
2 changes: 1 addition & 1 deletion vdoing/util/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export function normalize(path) {
}

export function getHash(path) {
const match = path?.match(hashRE)
const match = path ? path.match(hashRE) : ''
if (match) {
return match[0]
}
Expand Down

1 comment on commit cdee772

@vercel
Copy link

@vercel vercel bot commented on cdee772 Apr 13, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.