Closed ymstmsys closed 9 years ago
Thx! This makes sense!
Thx, I improved code. Additionally, I added '--directory' option and prioritized user options over '.bowerrc'.
Actually, I think if you just swapped the options such that:
options = _.extend({}, options, {directory: 'bower_components'})
becomes
options = _.extend({}, {directory: 'bower_components'}, options)
It does most of what you're trying to achieve. Ultimately, I don't see a use case for the user customizing their directory, however. Shouldn't the directory be specified by their .bowerrc file?
Didn't see the date! Boy was I late on the reply :)
I will go ahead and fix the bug - thanks for reporting it. I'm still open to pulling in the --directory option if it makes sense.
'options.directory' parameter seems to be ignored wrongly. In order to enable to change component directory, I modified this problem.