From eae96542941b55f929eaeadbd87e48604f8819f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miguel=20Jim=C3=A9nez=20Es=C3=BAn?= Date: Thu, 7 Mar 2019 12:21:53 +0000 Subject: [PATCH] Fix pattern for HG changed files (#8066) --- 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) {