Skip to content

Commit

Permalink
fix gosec
Browse files Browse the repository at this point in the history
  • Loading branch information
RobiNino committed Sep 4, 2024
1 parent 91473fb commit 691880a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions transfer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -369,6 +369,7 @@ func generateTestRepoSnapshotFile(t *testing.T, repoKey, repoSnapshotFilePath st
func addChildWithFiles(t *testing.T, parent *reposnapshot.Node, dirName string, explored, checkCompleted bool, filesCount int) *reposnapshot.Node {
childNode := reposnapshot.CreateNewNode(dirName, nil)
for i := 0; i < filesCount; i++ {
//#nosec G115
assert.NoError(t, childNode.IncrementFilesCount(uint64(i)))
}

Expand Down

0 comments on commit 691880a

Please sign in to comment.