taking a look at
https://github.com/dendronhq/dendron/issues/141
The one line change is not quite one line, since the following would fail if the editorPath is not set:
typescript
const cNoteFname =
opts?.overrides?.domain || path.basename(editorPath, ".md");