Skip to content

Commit

Permalink
Fix some comments
Browse files Browse the repository at this point in the history
  • Loading branch information
SBoudrias committed Jan 6, 2015
1 parent d179e68 commit 0d4cf09
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions lib/base.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ var Base = module.exports = function Base(args, options) {
return function () {};
};

_.defaults(this.options, this.fallbacks, {
_.defaults(this.options, {
engine: engines.underscore
});

Expand All @@ -121,8 +121,11 @@ var Base = module.exports = function Base(args, options) {

this.conflicter = new Conflicter(this.env.adapter, this.options.force);

// Since log is both a function and an object we need to use Object.defineProperty
// instead of this.env.adapter.log.apply o similar approaches
// Mirror the adapter log method on the generator.
//
// example:
// this.log('foo');
// this.log.error('bar');
this.log = this.env.adapter.log;

// determine the app root
Expand Down Expand Up @@ -537,9 +540,6 @@ Base.prototype.hookFor = function hookFor(name, config) {
/**
* Return the default value for the option name.
*
* Also performs a lookup in CLI options and the `this.fallbacks`
* property.
*
* @param {String} name
*/

Expand Down

0 comments on commit 0d4cf09

Please sign in to comment.