Skip to content

Commit

Permalink
Create application/tasks directory if not exists
Browse files Browse the repository at this point in the history
This is not a `Place` folder but related one

Closes: #1878
Refs: #1617
  • Loading branch information
tshemsedinov committed Jul 31, 2023
1 parent 989612c commit ca2ff5c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/planner.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ class Planner {
}

async init() {
await metarhia.metautil.ensureDirectory(this.path);
const now = metarhia.metautil.nowDate();
try {
const files = await node.fsp.readdir(this.path, { withFileTypes: true });
Expand Down

0 comments on commit ca2ff5c

Please sign in to comment.