From ef845b1cb7af6c5463e6dd76448f45c12c2661f7 Mon Sep 17 00:00:00 2001 From: Tonye Jack Date: Wed, 20 Mar 2024 13:08:37 -0600 Subject: [PATCH] fix: remove warning when detecting the local git repository --- src/utils.ts | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/utils.ts b/src/utils.ts index 050282c54a7..e9d5383f288 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -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' }