Skip to content

Commit

Permalink
New: Add warning when there's no configs defined
Browse files Browse the repository at this point in the history
  • Loading branch information
tgxn committed Jul 9, 2021
1 parent 88b48f4 commit 49dc0b4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/organize.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ class Organize {
} catch (errors) {
logger.error("Error loading storage");
}

if (this.configArray.length == 0) {
logger.error(`there are no organize configs defined!`);
}
}

async organizeAll() {
Expand Down

0 comments on commit 49dc0b4

Please sign in to comment.