Skip to content

Commit d49643a

Browse files
committed
feat: info log for skipping empty source files
1 parent a000381 commit d49643a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

fleck.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ func main() {
7979
} else if s.IsDir() {
8080
logger.LError(fmt.Sprintf("'%s' is a directory", s.Name()))
8181
} else if s.Size() == 0 {
82+
logger.LInfo(fmt.Sprintf("detected empty source file (%s), skipping", s.Name()))
8283
// INFO: this skips the given file if it is empty
8384
return
8485
}

0 commit comments

Comments
 (0)