Skip to content

Commit

Permalink
fix an event emitter bug
Browse files Browse the repository at this point in the history
  • Loading branch information
zaggino committed Jan 24, 2017
1 parent 207c39c commit 3acd43c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/EventEmitter.ts
Expand Up @@ -42,7 +42,7 @@ if (debugOn) {
Utils.consoleLog("[brackets-git] Event invoked: " + eventName + argsString);
}

return this._emit(...args);
return this._emit(eventName, ...args);
};
}

Expand Down

0 comments on commit 3acd43c

Please sign in to comment.