Skip to content

Conversation

@pvdb
Copy link
Contributor

@pvdb pvdb commented Sep 3, 2024

This PR addresses the NoMethodError issue mentioned in #38:

undefined method `lap' for an instance of Fit4Ruby::Activity

... by fixing a typo: activity.lap should be activity.laps

It also fixes another minor issue with the fatal error message:

Session references lap 0 which is not contained in 

... by correcting the line continuation.

Note that this PR doesn't address the "empty enumerator" issue yet, so in and of itself it doesn't really fix much, but I will issue a separate PR to fix the enumeration logic ... thanks, @scrapper !

@pvdb pvdb changed the title fix two issues/bugs/typos in check() method fix two issues/bugs/typos in Session#check() Sep 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant