diff --git a/checks/ci_tests.go b/checks/ci_tests.go index 40a047fb40db..5cd76488975f 100644 --- a/checks/ci_tests.go +++ b/checks/ci_tests.go @@ -50,5 +50,4 @@ func CITests(c *checker.CheckRequest) checker.CheckResult { // Return the score evaluation. return evaluation.CITests(CheckCITests, &rawData, c.Dlogger) - } diff --git a/checks/raw/ci_tests.go b/checks/raw/ci_tests.go index 1e2b88e1fc16..116881731ad3 100644 --- a/checks/raw/ci_tests.go +++ b/checks/raw/ci_tests.go @@ -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 ( @@ -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,