Skip to content

Commit

Permalink
Merge pull request #247 from sebastianelsner/patch-2
Browse files Browse the repository at this point in the history
Fixing #212
  • Loading branch information
rjmacarthy committed May 13, 2024
2 parents 830c4a9 + b97beca commit 1f75ffe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/extension/file-interaction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ export class FileInteractionCache {
}

put(filePath: string): void {
this._currentFile = filePath.replace('.git', '')
this._currentFile = filePath.replace('.git', '').replace('.hg', '')
const fileExtension = this._currentFile.split('.').pop()
if (this._interactions.get(this._currentFile)) return
if (this._currentFile.includes('.') && fileExtension) {
Expand Down

0 comments on commit 1f75ffe

Please sign in to comment.