google / addlicense

A program which ensures source code files have copyright license headers by scanning directory patterns recursively

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fix empty year generated copyright

bogdandrutu opened this issue · comments

Currently if the year is set to empty string -y="" the first header will have two consecutive empty spaces between Copyright and Holder.

Now:
// Copyright[ ][ ]OpenTelemetry Authors

After:
// Copyright[ ]OpenTelemetry Authors

Unfortunately the markdown decided that 2 consecutive spaces are not ok in the now example. but you can look at the raw text.