Skip to content

Commit

Permalink
Merge pull request #148 from trganda/develop
Browse files Browse the repository at this point in the history
Fix read properties of null while add new Attach
  • Loading branch information
trganda authored Jul 25, 2024
2 parents 3599d4e + c0f6d8d commit 96bc14f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/create.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ export class CreateHandler {
.exists(attachPath, true)
.then(async (exists) => {
if (!exists) {
await this.app.vault.adapter.mkdir(attachPath);
debugLog("processAttach - create path:", attachPath);
await this.app.vault.adapter.mkdir(attachPath);
debugLog("processAttach - create path:", attachPath);
}
})
.finally(() => {
Expand Down

0 comments on commit 96bc14f

Please sign in to comment.