WIP
This commit is contained in:
parent
c057fe3df8
commit
259b527214
6 changed files with 68 additions and 81 deletions
|
|
@ -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.')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue