Fix path.join in Settings.js
parent
5a9393d5da
commit
cd9c78998e
|
@ -142,7 +142,7 @@ exports.abiwordAvailable = function()
|
||||||
exports.reloadSettings = function reloadSettings() {
|
exports.reloadSettings = function reloadSettings() {
|
||||||
// Discover where the settings file lives
|
// Discover where the settings file lives
|
||||||
var settingsFilename = argv.settings || "settings.json";
|
var settingsFilename = argv.settings || "settings.json";
|
||||||
settingsFilename = path.resolve(path.join(root, settingsFilename));
|
settingsFilename = path.resolve(path.join(exports.root, settingsFilename));
|
||||||
|
|
||||||
var settingsStr;
|
var settingsStr;
|
||||||
try{
|
try{
|
||||||
|
|
Loading…
Reference in New Issue