mirror of
https://github.com/ralsina/tartrazine.git
synced 2024-09-20 07:21:22 +00:00
test: increase Linguist shallow clone depth
This commit is contained in:
parent
b41b4e14fe
commit
59bfa6e3e3
@ -21,7 +21,7 @@ func MaybeCloneLinguist(envVar, url, commit string) (string, bool, error) {
|
||||
}
|
||||
|
||||
isCleanupNeeded = true
|
||||
cmd := exec.Command("git", "clone", "--depth", "100", url, linguistTmpDir)
|
||||
cmd := exec.Command("git", "clone", "--depth", "150", url, linguistTmpDir)
|
||||
if err := cmd.Run(); err != nil {
|
||||
panic(fmt.Errorf("%s: %w", cmd.String(), err))
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user