From 2a74248d605b25f4afedc9e91bad52a44a8f6952 Mon Sep 17 00:00:00 2001 From: Csaba Tuncsik Date: Fri, 16 Jun 2023 13:19:06 +0200 Subject: [PATCH] build: fix gh workflow script --- .github/scripts/check-tests.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/scripts/check-tests.mjs b/.github/scripts/check-tests.mjs index 9af692b237..64b29a57fd 100644 --- a/.github/scripts/check-tests.mjs +++ b/.github/scripts/check-tests.mjs @@ -44,7 +44,7 @@ const hasFunctionOrClass = async filePath => { const program = async () => { // Run a git command to get a list of all files in the commit - const changedFilesCommand = "git diff --name-only --diff-filter=d origin/master...HEAD"; + const changedFilesCommand = "git diff --name-only --diff-filter=d origin/master..HEAD"; const changedFiles = await execAsync(changedFilesCommand).then(({stdout}) => stdout.toString().trim().split('\n')); // Get all .spec.ts and .test.ts files from the packages