mirror of
https://github.com/ralsina/tartrazine.git
synced 2025-06-27 14:47:50 -03:00
test: increase Linguist shallow clone depth
This commit is contained in:
@ -21,7 +21,7 @@ func MaybeCloneLinguist(envVar, url, commit string) (string, bool, error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
isCleanupNeeded = true
|
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 {
|
if err := cmd.Run(); err != nil {
|
||||||
panic(fmt.Errorf("%s: %w", cmd.String(), err))
|
panic(fmt.Errorf("%s: %w", cmd.String(), err))
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user