Closed kama-meshi closed 4 years ago
This PR fixes the bug, cannot open note folder when home path ~/ is set to the default note path. (fixes #74)
~/
vscode.Uri.file() returns object, but utils.resolveHome() looks to handle string. So changed to resolve home path first, then create URI.
vscode.Uri.file()
utils.resolveHome()
Also I found the same bug in note search command, fixed it together.
This is an awesome extension, so I hope this PR will help.
This PR fixes the bug, cannot open note folder when home path
~/
is set to the default note path. (fixes #74)vscode.Uri.file()
returns object, bututils.resolveHome()
looks to handle string. So changed to resolve home path first, then create URI.Also I found the same bug in note search command, fixed it together.
This is an awesome extension, so I hope this PR will help.