Skip to content

Commit

Permalink
Fix linter & license
Browse files Browse the repository at this point in the history
Signed-off-by: Raghav Kaul <raghavkaul@google.com>
  • Loading branch information
raghavkaul committed Sep 22, 2022
1 parent 9e3faf5 commit a6703a6
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
1 change: 0 additions & 1 deletion checks/ci_tests.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,4 @@ func CITests(c *checker.CheckRequest) checker.CheckResult {

// Return the score evaluation.
return evaluation.CITests(CheckCITests, &rawData, c.Dlogger)

}
14 changes: 13 additions & 1 deletion checks/raw/ci_tests.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
// Copyright 2022 Security Scorecard Authors
//
// 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 raw

import (
Expand All @@ -10,7 +23,6 @@ import (

func CITests(c clients.RepoClient) (checker.CITestData, error) {
commits, err := c.ListCommits()

if err != nil {
e := sce.WithMessage(
sce.ErrScorecardInternal,
Expand Down

0 comments on commit a6703a6

Please sign in to comment.