remove unused log

This commit is contained in:
fyears 2021-11-07 14:05:03 +08:00
parent 62aea9d330
commit bcd92d135f

View File

@ -52,12 +52,12 @@ export const getFolderLevels = (x: string) => {
};
export const mkdirpInVault = async (thePath: string, vault: Vault) => {
console.log(thePath);
// console.log(thePath);
const foldersToBuild = getFolderLevels(thePath);
console.log(foldersToBuild);
// console.log(foldersToBuild);
for (const folder of foldersToBuild) {
const r = await vault.adapter.exists(folder);
console.log(r);
// console.log(r);
if (!r) {
console.log(`mkdir ${folder}`);
await vault.adapter.mkdir(folder);