another attempt

This commit is contained in:
KATT 2021-10-16 00:02:21 +02:00
parent c7d08c1596
commit be8c0f46b4

View File

@ -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");