chore(healthcheck): tmp disable repoLFS
This commit is contained in:
		
							parent
							
								
									b6592e655d
								
							
						
					
					
						commit
						d19271c7ef
					
				|  | @ -1,20 +1,15 @@ | ||||||
| package healthcheck | package healthcheck | ||||||
| 
 | 
 | ||||||
| import ( | func RepoLFS(rootDir string) error { | ||||||
| 	"fmt" | 	// cmd := exec.Command("git", "lfs", "fsck", "--pointers")
 | ||||||
| 	"os/exec" | 	// cmd.Dir = rootDir
 | ||||||
| ) | 	// output, err := cmd.CombinedOutput()
 | ||||||
| 
 | 	// if err != nil {
 | ||||||
| func RepoLFS(workDir string) error { | 	// 	return fmt.Errorf(
 | ||||||
| 	cmd := exec.Command("git", "lfs", "fsck", "--pointers") | 	// 		"error running `git lfs fsck --pointers`: %w, output: %s",
 | ||||||
| 	cmd.Dir = workDir | 	// 		err,
 | ||||||
| 	output, err := cmd.CombinedOutput() | 	// 		output,
 | ||||||
| 	if err != nil { | 	// 	)
 | ||||||
| 		return fmt.Errorf( | 	// }
 | ||||||
| 			"error running `git lfs fsck --pointers`: %w, output: %s", |  | ||||||
| 			err, |  | ||||||
| 			output, |  | ||||||
| 		) |  | ||||||
| 	} |  | ||||||
| 	return nil | 	return nil | ||||||
| } | } | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user