From be8c0f46b4775ff2d82f65c797ae8b9a69c34577 Mon Sep 17 00:00:00 2001 From: KATT Date: Sat, 16 Oct 2021 00:02:21 +0200 Subject: [PATCH] another attempt --- scripts/ts-check-changed-files.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/ts-check-changed-files.ts b/scripts/ts-check-changed-files.ts index dd7627d68b..2a5f06892d 100644 --- a/scripts/ts-check-changed-files.ts +++ b/scripts/ts-check-changed-files.ts @@ -1,7 +1,7 @@ /* eslint-disable @typescript-eslint/no-explicit-any */ import { execSync } from "child_process"; -const diff = execSync(`git diff --name-only main`).toString(); +const diff = execSync(`git diff --name-only origin/main HEAD`).toString(); const files = diff.trim().split("\n");