Skip to content

Commit d528f6d

Browse files
committed
chore: fix linter
1 parent 6da6086 commit d528f6d

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

internal/analysis/analysis_test.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ import (
2727
"time"
2828

2929
"github.com/google/uuid"
30+
3031
"github.com/snyk/code-client-go/sarif"
3132

3233
"github.com/golang/mock/gomock"
@@ -720,7 +721,8 @@ func TestAnalysis_RunAnalysis_GetFindingsNotSuccessful(t *testing.T) {
720721
require.ErrorContains(t, err, "failed to retrieve findings from findings URL")
721722
}
722723

723-
func DISABLE_TestAnalysis_RunTestRemote(t *testing.T) {
724+
func TestAnalysis_RunTestRemote(t *testing.T) {
725+
t.Skip()
724726
mockConfig, mockHTTPClient, mockInstrumentor, mockErrorReporter, mockTracker, mockTrackerFactory, logger := setup(t, nil)
725727

726728
mockTracker.EXPECT().Begin(gomock.Eq("Snyk Code analysis for remote project"), gomock.Eq("Retrieving results...")).Return()

scan.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,6 @@ func NewCodeScanner(
158158
scanner.analysisOrchestrator = analysisOrchestrator
159159

160160
return scanner
161-
return scanner
162161
}
163162

164163
// WithBundleManager creates a new Code Scanner from the current one and replaces the bundle manager.

0 commit comments

Comments
 (0)