Skip to content

Commit

Permalink
不要な print を削除
Browse files Browse the repository at this point in the history
  • Loading branch information
zztkm committed Sep 24, 2024
1 parent e0468b6 commit 5a765f7
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -119,15 +119,9 @@ func (b Builder) Run() error {

func (b Builder) purgeIgnoreFiles(files []string) []string {
var res []string
println("IgnoreFiles:")
for _, ignoreFile := range b.config.Build.IgnoreFiles {
println(ignoreFile)
}
println("IgnoreFiles end")
for _, path := range files {
// path からファイル名を取得
name := filepath.Base(path)
println(name)
// name が IgnoreFiles に含まれているかを確認し、含まれている場合は削除
if slices.Contains(b.config.Build.IgnoreFiles, name) {
continue
Expand Down

0 comments on commit 5a765f7

Please sign in to comment.