vbmade2000 commented on issue #7556:
URL: https://github.com/apache/skywalking/issues/7556#issuecomment-2575164498
Here is the `.licenserc.yaml`.
```
header:
license:
pattern: |
Copyright \(c\) \d+ XYZ. All rights reserved.
Use of this source code is governed by a MIT-style
license that can be found in the LICENSE file\.
content: |
Copyright (c) [year] XYZ. All rights reserved.
Use of this source code is governed by a MIT-style
license that can be found in the LICENSE file.
```
Here is the file it fixes:
```
// Copyright (c) 2024 XYZ. All rights reserved.
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file.
use crate::Error;
```
Command used to fix:
`~/go/bin/license-eye .licenserc.yaml header fix`
I tried without `.licenserc.yaml` and it inserted `Apache Software
Foundation`. There also it inserted a new empty line after license text.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]