Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore!: remove unused fitsInRow return value #1923

Merged
merged 2 commits into from
Jun 15, 2023
Merged

Conversation

cmwaters
Copy link
Contributor

NextShareIndex also returns a boolean "fitsInRow" value which isn't used anywhere in the logic anymore. This PR cleans up the function by removing it. Note that this breaks the Go API

@MSevey MSevey requested a review from a team June 14, 2023 10:48
@codecov-commenter
Copy link

Codecov Report

Merging #1923 (0ba20df) into main (766b8a5) will increase coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main    #1923      +/-   ##
==========================================
+ Coverage   21.21%   21.22%   +0.01%     
==========================================
  Files         120      120              
  Lines       13693    13695       +2     
==========================================
+ Hits         2905     2907       +2     
  Misses      10498    10498              
  Partials      290      290              
Impacted Files Coverage Δ
pkg/inclusion/paths.go 100.00% <100.00%> (ø)
pkg/shares/non_interactive_defaults.go 100.00% <100.00%> (ø)
pkg/square/builder.go 77.22% <100.00%> (ø)

Copy link
Collaborator

@rootulp rootulp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this clean up!

pkg/shares/non_interactive_defaults.go Show resolved Hide resolved
pkg/shares/non_interactive_defaults.go Show resolved Hide resolved
@rootulp rootulp added the chore optional label for items that follow the `chore` conventional commit label Jun 14, 2023
@evan-forbes evan-forbes added the warn:api breaking item will be break an API and require a major bump label Jun 14, 2023
evan-forbes
evan-forbes previously approved these changes Jun 14, 2023
@MSevey MSevey requested a review from a team June 14, 2023 13:59
@cmwaters cmwaters merged commit fc83b04 into main Jun 15, 2023
@cmwaters cmwaters deleted the cal/remove-next-row branch June 15, 2023 14:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore optional label for items that follow the `chore` conventional commit warn:api breaking item will be break an API and require a major bump
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants