fbiville / headache

Utility to manage license headers in source files
Apache License 2.0
34 stars 8 forks source link

headache sometimes corrupts source file when updating headers #64

Closed fbiville closed 4 years ago

fbiville commented 4 years ago

For instance on headache's own main.go (see the last two additions)

diff --git a/main.go b/main.go
index 23c3866..6e7433d 100644
--- a/main.go
+++ b/main.go
@@ -1,5 +1,5 @@
 /*
- * Copyright 2018 Florent Biville (@fbiville)
+ * Copyright 2018-2019 Florent Biville (@fbiville)
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -12,8 +12,11 @@
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
+ *
  */

+/
+