Skip to content

Commit

Permalink
Fix pattern for HG changed files (#8066)
Browse files Browse the repository at this point in the history
  • Loading branch information
mjesun authored Mar 7, 2019
1 parent 690221b commit eae9654
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/jest-changed-files/src/hg.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const adapter: SCMAdapter = {

const args = ['status', '-amnu'];
if (options && options.withAncestor) {
args.push('--rev', `min(!public() & ::.)^`);
args.push('--rev', `min((!public() & ::.)+.)^`);
} else if (options && options.changedSince) {
args.push('--rev', `ancestor(., ${options.changedSince})`);
} else if (options && options.lastCommit === true) {
Expand Down

0 comments on commit eae9654

Please sign in to comment.