improve logging

This commit is contained in:
Michal Dorner
2020-10-16 12:24:39 +02:00
parent 9379d51f46
commit 77a8129fcb
2 changed files with 2 additions and 2 deletions

2
dist/index.js vendored
View File

@ -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

View File

@ -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)
}