Skip to content

Commit

Permalink
fix: issue with journal names on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinslin authored and kevinslin committed Jul 30, 2020
1 parent 4d3578f commit d0bfe7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/plugin-core/src/workspace.ts
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ export class DendronWorkspace {
if (!editorPath) {
throw Error("not currently in a note");
}
const cNoteFname = posix.basename(editorPath, ".md");
const cNoteFname = path.basename(editorPath, ".md");
const currentDomain = DNodeUtils.domainName(cNoteFname);
let fname = `${currentDomain}.${journalNamespace}.${noteName}`;
const title = await vscode.window.showInputBox({
Expand Down

0 comments on commit d0bfe7f

Please sign in to comment.