Skip to content

Commit

Permalink
chore: add metrics for git enabled in project
Browse files Browse the repository at this point in the history
  • Loading branch information
abose committed Jan 25, 2025
1 parent 1f1841e commit 9850a36
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/extensions/default/Git/src/Panel.js
Original file line number Diff line number Diff line change
Expand Up @@ -1414,6 +1414,7 @@ define(function (require, exports) {
}
);
}
Metrics.countEvent(Metrics.EVENT_TYPE.GIT, 'project', "enabled");
// Add info from Git to panel
Git.getConfig("user.name").then(function (currentUserName) {
EventEmitter.emit(Events.GIT_USERNAME_CHANGED, currentUserName);
Expand Down

0 comments on commit 9850a36

Please sign in to comment.