Skip to content

Commit be06b77

Browse files
committed
Improve visibility of the files with unsupported extensions
1 parent 87b93e5 commit be06b77

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

addlicense/main.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,7 @@ func processFile(f *file, t *template.Template, license LicenseData, checkonly b
241241
return err
242242
}
243243
if lic == nil { // Unknown fileExtension
244+
logger.Printf("[WARN] %s - unknown file extension", f.path)
244245
return nil
245246
}
246247
// Check if file has a license

0 commit comments

Comments
 (0)