Skip to content

Commit

Permalink
Add cmd for license checker (#252)
Browse files Browse the repository at this point in the history
* Add cmd for license checker

* Fix licence checker failure
  • Loading branch information
xxx7xxxx committed Sep 13, 2021
1 parent a915688 commit 8059305
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .licenserc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ header:
paths:
- 'pkg/'
- 'cmd/'

paths-ignore:
- '**/*.json'
Expand All @@ -45,4 +46,4 @@ header:

dependency:
files:
- go.mod
- go.mod
17 changes: 17 additions & 0 deletions cmd/client/command/visitor.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/*
* Copyright (c) 2017, MegaEase
* All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* 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.
*/

package command

import (
Expand Down

0 comments on commit 8059305

Please sign in to comment.