Skip to content

Commit

Permalink
Remove spurious error check
Browse files Browse the repository at this point in the history
Part of #201
  • Loading branch information
ruiAzevedo19 committed Jun 27, 2024
1 parent 6fd5180 commit 08cc00f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions model/llm/llm.go
Original file line number Diff line number Diff line change
Expand Up @@ -206,10 +206,6 @@ func (m *Model) generateTestsForFile(ctx task.Context) (assessment metrics.Asses
assessment[metrics.AssessmentKeyResponseCharacterCount] = uint64(len(response))
assessment[metrics.AssessmentKeyGenerateTestsForFileCharacterCount] = uint64(len(testContent))

if err != nil {
return nil, pkgerrors.WithStack(err)
}

testFilePath := ctx.Language.TestFilePath(ctx.RepositoryPath, ctx.FilePath)
if err := os.MkdirAll(filepath.Join(ctx.RepositoryPath, filepath.Dir(testFilePath)), 0755); err != nil {
return nil, pkgerrors.WithStack(err)
Expand Down

0 comments on commit 08cc00f

Please sign in to comment.