This commit is contained in:
Josh Harvey 2016-10-10 14:53:01 +01:00
parent c057fe3df8
commit 259b527214
6 changed files with 68 additions and 81 deletions

View file

@ -13,6 +13,7 @@ try {
} catch (err) {
try {
configPath = path.resolve(os.homedir(), '.lamassu', 'lamassu.json')
console.log(configPath)
options = JSON.parse(fs.readFileSync(configPath))
} catch (err2) {
console.log('Missing configuration file -- exiting.')