Skip to content

Commit

Permalink
chore: improve debug logs
Browse files Browse the repository at this point in the history
  • Loading branch information
jackton1 committed Mar 28, 2023
1 parent be8b74c commit 37bd040
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ export async function deletedGitFiles({
{cwd}
)

core.debug(`git diff exited with: ${exitCode}`)

if (stderr || exitCode !== 0) {
throw new Error(stderr || 'An unexpected error occurred')
}
Expand Down

0 comments on commit 37bd040

Please sign in to comment.