Skip to content

Commit

Permalink
feat(cutter): 打印排除的目录或文件
Browse files Browse the repository at this point in the history
  • Loading branch information
morehao committed Jul 26, 2024
1 parent c49804a commit f4b1a9f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/cutter.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ func copyAndReplace(srcDir, dstDir, oldName, newName string, excludes []string)
// 检查是否排除
for _, exclude := range excludes {
if strings.Contains(path, exclude) {
fmt.Println("Excluding:", path)
return nil
}
}
Expand Down

0 comments on commit f4b1a9f

Please sign in to comment.