chore: remove unnecessary code

This commit is contained in:
2025-05-08 21:00:48 +03:00
parent 55166639e8
commit 93570940b4

View File

@@ -391,17 +391,12 @@ func (rs *Repos) processRepoChanges(ctx context.Context, repo types.Repo, r *git
}
scriptFl, err := oldCommit.File(action.File)
if err != nil {
return fmt.Errorf("error getting file: %w", err)
return nil
}
r, err := scriptFl.Reader()
if err != nil {
return fmt.Errorf("error creating reader: %w", err)
}
runner, err := rs.processRepoChangesRunner(repoDir, filepath.Dir(filepath.Join(repoDir, action.File)))
if err != nil {
return fmt.Errorf("error creating process repo changes runner: %w", err)
return nil
}
var pkg db.Package