mirror of
https://github.com/meld-cp/obsidian-build.git
synced 2026-07-22 07:30:25 +00:00
wip
This commit is contained in:
parent
84df5aa4e4
commit
69606b03b1
1 changed files with 2 additions and 3 deletions
5
main.ts
5
main.ts
|
|
@ -358,11 +358,10 @@ export class Compiler{
|
|||
}
|
||||
|
||||
//console.debug( app.vault.getAbstractFileByPath(filename) );
|
||||
const sanFilename = normalizePath(filename)
|
||||
.replace('/', '_')
|
||||
const outputFilename = normalizePath(filename)
|
||||
.replace('..', '_')
|
||||
;
|
||||
const outputFilename = normalizePath( `${activeFile.basename} ${sanFilename}` );
|
||||
//const outputFilename = normalizePath( `${activeFile.basename} ${sanFilename}` );
|
||||
|
||||
const newFilepath = normalizePath( activeFile.parent.path + "/" + outputFilename );
|
||||
//console.debug({outputFilename,newFilepath});
|
||||
|
|
|
|||
Loading…
Reference in a new issue