Skip to content

Commit ef845b1

Browse files
committed
fix: remove warning when detecting the local git repository
1 parent 0276805 commit ef845b1

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/utils.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -680,12 +680,6 @@ export const isInsideWorkTree = async ({
680680
}
681681
)
682682

683-
if (stdout.trim() !== 'true') {
684-
core.warning(
685-
`The current working directory is not inside a git repository: ${cwd}`
686-
)
687-
}
688-
689683
return stdout.trim() === 'true'
690684
}
691685

0 commit comments

Comments
 (0)