Skip to content

Commit

Permalink
leave caret
Browse files Browse the repository at this point in the history
  • Loading branch information
mrazauskas committed Feb 8, 2022
1 parent d7e7776 commit 061dbcf
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 @@ -20,7 +20,7 @@ const adapter: SCMAdapter = {

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

0 comments on commit 061dbcf

Please sign in to comment.