fix a small nit (#13074)
Signed-off-by: a1012112796 <1012112796@qq.com>
This commit is contained in:
parent
144fa5a537
commit
a5ba8188da
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ func newGit() {
|
||||||
log.Fatal("Failed to map Git settings: %v", err)
|
log.Fatal("Failed to map Git settings: %v", err)
|
||||||
}
|
}
|
||||||
if err := git.SetExecutablePath(Git.Path); err != nil {
|
if err := git.SetExecutablePath(Git.Path); err != nil {
|
||||||
log.Fatal("Failed to initialize Git settings", err)
|
log.Fatal("Failed to initialize Git settings: %v", err)
|
||||||
}
|
}
|
||||||
git.DefaultCommandExecutionTimeout = time.Duration(Git.Timeout.Default) * time.Second
|
git.DefaultCommandExecutionTimeout = time.Duration(Git.Timeout.Default) * time.Second
|
||||||
|
|
||||||
|
|
Reference in a new issue