Fix path.join in Settings.js

This commit is contained in:
Marcel Klehr 2013-03-16 09:47:10 +01:00
parent 5a9393d5da
commit cd9c78998e
1 changed files with 1 additions and 1 deletions

View File

@ -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{