Skip to content

Commit 1fc68ee

Browse files
committed
preserve directories with .c files
Fix #69
1 parent 46bf9f4 commit 1fc68ee

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

clean.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ func isCDir(fis []os.FileInfo) bool {
1919
if ext == ".cc" || ext == ".cpp" || ext == ".py" {
2020
return false
2121
}
22-
if ext == ".h" {
22+
if ext == ".h" || ext == ".c" {
2323
hFound = true
2424
}
2525
}

0 commit comments

Comments
 (0)