mirror of
https://github.com/FalloutCollaborationProject/FCP-Mod-Updater.git
synced 2026-07-27 17:04:05 -07:00
Disable GPG signing in test git commands to prevent prompts
This commit is contained in:
@@ -26,7 +26,7 @@ public class GitServiceIntegrationTests : IDisposable
|
||||
private async Task RunGitAsync(string workingDir, string args)
|
||||
{
|
||||
var result = await Cli.Wrap("git")
|
||||
.WithArguments(args)
|
||||
.WithArguments($"-c commit.gpgsign=false {args}")
|
||||
.WithWorkingDirectory(workingDir)
|
||||
.WithEnvironmentVariables(env => env
|
||||
.Set("GIT_TERMINAL_PROMPT", "0")
|
||||
|
||||
Reference in New Issue
Block a user