Skip to content

Commit

Permalink
Fixed change lock
Browse files Browse the repository at this point in the history
  • Loading branch information
Ellen Fawkes committed Sep 4, 2017
1 parent 805902a commit ce4e4ca
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/storage.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ const Store = function(storageFile) {
data.meta.updated = new Date();
logger.log("Save data to storage file: %s Writes count: %s", _storageFile, wrc);
writeDataFile(_storageFile, data);
dataChanged = false;
logger.info("Data saved! File: %s", _storageFile);
return this;
}
Expand Down

0 comments on commit ce4e4ca

Please sign in to comment.