Skip to content

Commit

Permalink
fix: remove warning when detecting the local git repository
Browse files Browse the repository at this point in the history
  • Loading branch information
jackton1 committed Mar 20, 2024
1 parent 0276805 commit ef845b1
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'
}

Expand Down

0 comments on commit ef845b1

Please sign in to comment.