mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-12-16 21:56:25 -05:00
forgot to resolve path to storage
This commit is contained in:
parent
8d841ea8e3
commit
a0c861ec5a
1 changed files with 6 additions and 1 deletions
|
@ -29,7 +29,12 @@ function Config(config) {
|
|||
assert.equal(typeof(config), 'object', 'CONFIG: this doesn\'t look like a valid config file')
|
||||
|
||||
assert(this.storage, 'CONFIG: storage path not defined')
|
||||
this.localList = LocalList(Path.join(this.storage, '.sinopia-db.json'))
|
||||
this.localList = LocalList(
|
||||
Path.join(
|
||||
Path.resolve(Path.dirname(this.self_path), this.storage),
|
||||
'.sinopia-db.json'
|
||||
)
|
||||
)
|
||||
|
||||
var users = {all:true, anonymous:true, 'undefined':true, owner:true, none:true}
|
||||
|
||||
|
|
Loading…
Reference in a new issue