settings: the dirtyDb file path is interpreted using makeAbsolute()

Otherwise its position depended on process.cwd
This commit is contained in:
muxator 2018-08-22 01:16:33 +02:00 committed by muxator
parent 5406472d65
commit 435b2a4edf

View file

@ -499,7 +499,9 @@ exports.reloadSettings = function reloadSettings() {
if(!exports.suppressErrorsInPadText){
exports.defaultPadText = exports.defaultPadText + "\nWarning: " + dirtyWarning + suppressDisableMsg;
}
console.warn(dirtyWarning);
exports.dbSettings.filename = absolutePaths.makeAbsolute(exports.dbSettings.filename);
console.warn(dirtyWarning + ` File location: ${exports.dbSettings.filename}`);
}
};