mirror of
https://github.com/dorny/paths-filter.git
synced 2025-06-23 19:08:03 +02:00
Fix missing await
This commit is contained in:
@ -209,7 +209,7 @@ async function getCommitCount(): Promise<number> {
|
||||
|
||||
async function getLocalRef(shortName: string): Promise<string | undefined> {
|
||||
if (isGitSha(shortName)) {
|
||||
return hasCommit(shortName) ? shortName : undefined
|
||||
return (await hasCommit(shortName)) ? shortName : undefined
|
||||
}
|
||||
|
||||
const output = (await exec('git', ['show-ref', shortName], {ignoreReturnCode: true})).stdout
|
||||
|
Reference in New Issue
Block a user