Skip to content

Commit

Permalink
Improve visibility of the files with unsupported extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanRibakov committed Jan 27, 2025
1 parent 87b93e5 commit be06b77
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions addlicense/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,7 @@ func processFile(f *file, t *template.Template, license LicenseData, checkonly b
return err
}
if lic == nil { // Unknown fileExtension
logger.Printf("[WARN] %s - unknown file extension", f.path)
return nil
}
// Check if file has a license
Expand Down

0 comments on commit be06b77

Please sign in to comment.