From 78127d07c1f25d0e044a025e558f019ab8643acc Mon Sep 17 00:00:00 2001 From: Yun Long Date: Mon, 13 Sep 2021 16:30:05 +0800 Subject: [PATCH 1/2] Add cmd for license checker --- .licenserc.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.licenserc.yaml b/.licenserc.yaml index 568646e014..6979804908 100644 --- a/.licenserc.yaml +++ b/.licenserc.yaml @@ -20,6 +20,7 @@ header: paths: - 'pkg/' + - 'cmd/' paths-ignore: - '**/*.json' @@ -45,4 +46,4 @@ header: dependency: files: - - go.mod \ No newline at end of file + - go.mod From f5ab4eb4fb316ce625ed3007c7cbc99c0d530891 Mon Sep 17 00:00:00 2001 From: Yun Long Date: Mon, 13 Sep 2021 16:55:04 +0800 Subject: [PATCH 2/2] Fix licence checker failure --- cmd/client/command/visitor.go | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/cmd/client/command/visitor.go b/cmd/client/command/visitor.go index f790541f8f..09b6993037 100644 --- a/cmd/client/command/visitor.go +++ b/cmd/client/command/visitor.go @@ -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://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 (