Skip to content

Commit

Permalink
style: reformat code
Browse files Browse the repository at this point in the history
  • Loading branch information
reverse-direction-god committed Jul 25, 2024
1 parent 97aaf7b commit 58d4169
Showing 1 changed file with 0 additions and 26 deletions.
26 changes: 0 additions & 26 deletions module/nuget/nuget_utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,32 +12,6 @@ func checkPackagesIsExistence(fileName string) bool {
return utils.IsFile(fileName)
}

// 判断nuget命令是否存在
//
// func checkNugetCommand() bool {
// _, err := exec.LookPath("nuget")
// return err == nil
// }
// func findCLN(dir string) (filePath string, err error) {

// err = filepath.Walk(dir, func(path string, info os.FileInfo, err error) error {
// if err != nil {
// return err
// }

// if info.IsDir() {
// return nil
// }
// if filepath.Ext(path) == ".sln" {
// // 找到.sln文件所在的目录
// filePath = filepath.Dir(path)
// return nil
// }
// return nil // 继续搜索
// })

// return filePath, err
// }
func findCLNList(dir string) (filePath []string, err error) {

err = filepath.Walk(dir, func(path string, info os.FileInfo, err error) error {
Expand Down

0 comments on commit 58d4169

Please sign in to comment.