@@ -22,21 +22,20 @@ fn ensure_go_dependencies() {
2222 ] ;
2323
2424 for dir in possible_dirs {
25- eprintln ! ( "mod tidy dir: {:?}" , dir) ;
2625 let go_mod_path = dir. join ( "go.mod" ) ;
2726 if go_mod_path. exists ( ) {
2827 println ! ( "Found go.mod in: {:?}" , dir) ;
2928
3029 // Run go mod tidy to ensure all dependencies are properly resolved
31- let mut tidy_cmd = Command :: new ( "go" ) ;
32- tidy_cmd. arg ( "mod" ) . arg ( "tidy" ) . current_dir ( & dir) ;
30+ // let mut tidy_cmd = Command::new("go");
31+ // tidy_cmd.arg("mod").arg("tidy").current_dir(&dir);
3332
34- let tidy_output = tidy_cmd. output ( ) . expect ( "Failed to run go mod tidy" ) ;
35- if !tidy_output. status . success ( ) {
36- eprintln ! ( "go mod tidy failed in {:?}: {}" , dir, String :: from_utf8_lossy( & tidy_output. stderr) ) ;
37- } else {
38- println ! ( "Successfully ran go mod tidy in {:?}" , dir) ;
39- }
33+ // let tidy_output = tidy_cmd.output().expect("Failed to run go mod tidy");
34+ // if !tidy_output.status.success() {
35+ // eprintln!("go mod tidy failed in {:?}: {}", dir, String::from_utf8_lossy(&tidy_output.stderr));
36+ // } else {
37+ // println!("Successfully ran go mod tidy in {:?}", dir);
38+ // }
4039
4140 // Run go mod download to ensure all modules are cached
4241 let mut cmd = Command :: new ( "go" ) ;
0 commit comments