Skip to content

Commit

Permalink
Prevent deleting config dir
Browse files Browse the repository at this point in the history
  • Loading branch information
kipliklotrika committed Nov 14, 2018
1 parent 187cd57 commit 05b25c7
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions check-updates.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,6 @@ class AutoUpdate {
log.warn('RESTARTING THE APP!');
umzug_migrations.up().then((migrations) => {
log.warn('Database migrated.');
rimraf.sync('./data/*');
rimraf.sync('./keys/*');
this.restartNode();
});
}
Expand Down

0 comments on commit 05b25c7

Please sign in to comment.