mirror of
https://github.com/bower/bower.git
synced 2026-04-24 03:00:19 -04:00
Several things changed.
- Make force and offline part of config, clearing all the options mess in the architecture - Fix some bugs with the renderer - Parse cli options
This commit is contained in:
@@ -10,11 +10,9 @@ var copy = require('../util/copy');
|
||||
var createError = require('../util/createError');
|
||||
var endpointParser = require('../util/endpointParser');
|
||||
|
||||
function Manager(options) {
|
||||
options = options || {};
|
||||
|
||||
this._config = options.config || defaultConfig;
|
||||
this._repository = new PackageRepository(options);
|
||||
function Manager(config) {
|
||||
this._config = config || defaultConfig;
|
||||
this._repository = new PackageRepository(config);
|
||||
}
|
||||
|
||||
// -----------------
|
||||
|
||||
Reference in New Issue
Block a user