Skip to content

Commit

Permalink
refactor: remove dead code in interactions.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
senyai committed Oct 25, 2023
1 parent 7e57e56 commit 1ffc4b0
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/interaction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ export const enum BranchExistsAction {

export const enum CommitSources {
File,
Branch,
Repo,
}

Expand Down Expand Up @@ -680,14 +679,10 @@ export async function pickUpdateCheckin(

function describeLogEntrySource(kind: CommitSources): string {
switch (kind) {
case CommitSources.Branch:
return localize('branch history', 'Branch history');
case CommitSources.Repo:
return localize('repo history', 'Repo history');
case CommitSources.File:
return localize('file history', 'File history');
default:
return localize('history', 'History');
}
}

Expand Down

0 comments on commit 1ffc4b0

Please sign in to comment.