Skip to content

Commit

Permalink
Another go at fixing (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben Crowl committed Aug 1, 2017
1 parent ad7bbd5 commit 7203a95
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"bugs": {
"url": "https://github.com/mrcrowl/vscode-hg/issues"
},
"version": "1.1.5",
"version": "1.1.6",
"engines": {
"vscode": "^1.11.0"
},
Expand Down
2 changes: 1 addition & 1 deletion src/model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -944,7 +944,7 @@ export class Model implements Disposable {

const onHgChange = mapEvent(onRawHgChange, ({ filename }) => Uri.file(path.join(dotHgPath, filename)));
const onRelevantHgChange = filterEvent(onHgChange, uri => {
const isRelevant = !/[\\\/]\.hg[\\\/](\w?lock.*|.*\.log(-\w+)?)$/.test(uri.fsPath);
const isRelevant = !/[\\\/]\.hg[\\\/](\w?lock.*|.*\.log([-\.]\w+)?)$/.test(uri.fsPath);
return isRelevant;
});
const onHgrcChange = filterEvent(onHgChange, uri => {
Expand Down

0 comments on commit 7203a95

Please sign in to comment.