Skip to content

Commit 3acd43c

Browse files
committed
fix an event emitter bug
1 parent 207c39c commit 3acd43c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/EventEmitter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ if (debugOn) {
4242
Utils.consoleLog("[brackets-git] Event invoked: " + eventName + argsString);
4343
}
4444

45-
return this._emit(...args);
45+
return this._emit(eventName, ...args);
4646
};
4747
}
4848

0 commit comments

Comments
 (0)