Skip to content

Commit

Permalink
.init() will no longer returns this
Browse files Browse the repository at this point in the history
  • Loading branch information
kaelzhang committed Jun 16, 2014
1 parent 4c8bf0a commit e852226
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions index.js
Expand Up @@ -66,7 +66,6 @@ mix(Profile.prototype, {
init: function() {
this._prepare();
this._prepareProfile(this.options.profile);
return this;
},

// get all profile names
Expand Down Expand Up @@ -378,7 +377,7 @@ mix(Profile.prototype, {

} catch (e) {
this.emit('error', {
code: 'ECONFIG',
code: 'ERROR_PARSE_CONFIG',
message: 'Error parsing config file "' + conf + '".',
data: {
file: conf,
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "multi-profile",
"version": "3.3.2",
"version": "4.0.0",
"description": "Multi-profile is a module to manage global configurations for multiple profiles.",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit e852226

Please sign in to comment.