mirror of
https://github.com/github/codeql-action.git
synced 2026-04-27 01:08:46 +00:00
Test mode: Tolerate missing git binary
This commit is contained in:
Generated
+1
-1
@@ -92985,7 +92985,7 @@ async function initConfig(features, inputs) {
|
||||
await logGitVersionTelemetry(config, gitVersion);
|
||||
} catch (e) {
|
||||
logger.warning(`Could not determine Git version: ${getErrorMessage(e)}`);
|
||||
if (isInTestMode()) {
|
||||
if (isInTestMode() && await isBinaryAccessible("git", logger)) {
|
||||
throw e;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user