Allow --settings cli arg to be an absolute path
parent
de3a60ee2a
commit
440e8049b0
|
@ -172,7 +172,7 @@ exports.abiwordAvailable = function()
|
|||
exports.reloadSettings = function reloadSettings() {
|
||||
// Discover where the settings file lives
|
||||
var settingsFilename = argv.settings || "settings.json";
|
||||
settingsFilename = path.resolve(path.join(exports.root, settingsFilename));
|
||||
settingsFilename = path.resolve(exports.root, settingsFilename);
|
||||
|
||||
var settingsStr;
|
||||
try{
|
||||
|
|
Loading…
Reference in New Issue