Fix path.join in Settings.js
This commit is contained in:
parent
5a9393d5da
commit
cd9c78998e
|
@ -142,7 +142,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(root, settingsFilename));
|
||||
settingsFilename = path.resolve(path.join(exports.root, settingsFilename));
|
||||
|
||||
var settingsStr;
|
||||
try{
|
||||
|
|
Loading…
Reference in New Issue