Skip to content

Commit

Permalink
Add version property to Generator.prototype
Browse files Browse the repository at this point in the history
  • Loading branch information
joelrbrandt committed Feb 3, 2014
1 parent faa6d08 commit 282b137
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/generator.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@
return new Generator();
}

Object.defineProperty(Generator.prototype, "version", {enumerable: true, value: packageConfig.version});

Generator.prototype.start = function (options) {
var self = this;

Expand Down

0 comments on commit 282b137

Please sign in to comment.