From 77a8129fcb4d3c405481701d0a03118390d95d0d Mon Sep 17 00:00:00 2001 From: Michal Dorner Date: Fri, 16 Oct 2020 12:24:39 +0200 Subject: [PATCH] improve logging --- dist/index.js | 2 +- src/main.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/index.js b/dist/index.js index 593763b..dc22a60 100644 --- a/dist/index.js +++ b/dist/index.js @@ -4720,7 +4720,7 @@ async function getChangedFilesFromGit(base, initialFetchDepth) { return await git.listAllFilesAsAdded(); } } - core.info(`Changes will be detected against the last previously pushed commit on same branch (${pushRef})`); + core.info(`Changes will be detected against commit (${baseSha})`); return await git.getChanges(baseSha); } // Changes introduced by current branch against the base branch diff --git a/src/main.ts b/src/main.ts index 9a65b9a..92cad59 100644 --- a/src/main.ts +++ b/src/main.ts @@ -109,7 +109,7 @@ async function getChangedFilesFromGit(base: string, initialFetchDepth: number): } } - core.info(`Changes will be detected against the last previously pushed commit on same branch (${pushRef})`) + core.info(`Changes will be detected against commit (${baseSha})`) return await git.getChanges(baseSha) }