fix: remove warning with detecting the local git repository when using Github's REST API (#2002)

Co-authored-by: GitHub Action <action@github.com>
This commit is contained in:
Tonye Jack
2024-03-20 13:20:51 -06:00
committed by GitHub
parent 02768050b1
commit 077b23f6a6
3 changed files with 1 additions and 10 deletions

View File

@@ -680,12 +680,6 @@ export const isInsideWorkTree = async ({
}
)
if (stdout.trim() !== 'true') {
core.warning(
`The current working directory is not inside a git repository: ${cwd}`
)
}
return stdout.trim() === 'true'
}