From 491f3cd2c4753196cb97ae3791900beed384ee5e Mon Sep 17 00:00:00 2001 From: Miguel Jimenez Esun Date: Wed, 6 Mar 2019 17:38:58 +0000 Subject: [PATCH] Fix pattern for HG changed files --- packages/jest-changed-files/src/hg.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/jest-changed-files/src/hg.ts b/packages/jest-changed-files/src/hg.ts index 89d4aea508b2..b7644f3c0460 100644 --- a/packages/jest-changed-files/src/hg.ts +++ b/packages/jest-changed-files/src/hg.ts @@ -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) {