From d19271c7ef337387899105fd7c6a349305d17d9d Mon Sep 17 00:00:00 2001 From: Boming Zhang Date: Sat, 28 Jun 2025 09:30:35 -0400 Subject: [PATCH] chore(healthcheck): tmp disable repoLFS --- pkg/healthcheck/repolfs.go | 27 +++++++++++---------------- 1 file changed, 11 insertions(+), 16 deletions(-) diff --git a/pkg/healthcheck/repolfs.go b/pkg/healthcheck/repolfs.go index a308c37..c325991 100644 --- a/pkg/healthcheck/repolfs.go +++ b/pkg/healthcheck/repolfs.go @@ -1,20 +1,15 @@ package healthcheck -import ( - "fmt" - "os/exec" -) - -func RepoLFS(workDir string) error { - cmd := exec.Command("git", "lfs", "fsck", "--pointers") - cmd.Dir = workDir - output, err := cmd.CombinedOutput() - if err != nil { - return fmt.Errorf( - "error running `git lfs fsck --pointers`: %w, output: %s", - err, - output, - ) - } +func RepoLFS(rootDir string) error { + // cmd := exec.Command("git", "lfs", "fsck", "--pointers") + // cmd.Dir = rootDir + // output, err := cmd.CombinedOutput() + // if err != nil { + // return fmt.Errorf( + // "error running `git lfs fsck --pointers`: %w, output: %s", + // err, + // output, + // ) + // } return nil }