mirror of
https://github.com/dorny/paths-filter.git
synced 2025-06-08 00:59:04 +00:00
Improve logging
This commit is contained in:
parent
3d4a25053b
commit
6d8169070c
3 changed files with 4 additions and 4 deletions
|
@ -63,7 +63,7 @@ export async function getChangesSinceMergeBase(base: string, ref: string, initia
|
|||
}
|
||||
|
||||
let noMergeBase = false
|
||||
core.startGroup(`Searching for merge-base ${baseRef}...${ref}`)
|
||||
core.startGroup(`Searching for merge-base ${base}...${ref}`)
|
||||
try {
|
||||
baseRef = await getFullRef(base)
|
||||
if (!(await hasMergeBase())) {
|
||||
|
|
|
@ -121,7 +121,7 @@ async function getChangedFilesFromGit(base: string, initialFetchDepth: number):
|
|||
}
|
||||
|
||||
// Changes introduced by current branch against the base branch
|
||||
core.info(`Changes will be detected against the branch ${baseRef}`)
|
||||
core.info(`Changes will be detected against ${baseRef}`)
|
||||
return await git.getChangesSinceMergeBase(baseRef, ref, initialFetchDepth)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue