mirror of
https://github.com/verdaccio/verdaccio.git
synced 2025-02-17 23:45:29 -05:00
Fix config.js new shape
This commit is contained in:
parent
1d062075c4
commit
90328d5faf
2 changed files with 2 additions and 2 deletions
|
@ -13,7 +13,7 @@ let Storage = require('./storage');
|
|||
module.exports = function(config_hash) {
|
||||
Logger.setup(config_hash.logs);
|
||||
|
||||
let config = Config(config_hash);
|
||||
let config = new Config(config_hash);
|
||||
let storage = new Storage(config);
|
||||
let auth = Auth(config);
|
||||
let app = express();
|
||||
|
|
|
@ -34,7 +34,7 @@ let packages = [
|
|||
|
||||
describe('search', function() {
|
||||
before(function() {
|
||||
let config = Config(config_hash);
|
||||
let config = new Config(config_hash);
|
||||
this.storage = new Storage(config);
|
||||
Search.configureStorage(this.storage);
|
||||
packages.map(function(item) {
|
||||
|
|
Loading…
Add table
Reference in a new issue