joshmedeski / sesh

Smart session manager for the terminal
MIT License
417 stars 17 forks source link

fix: panic when listing session that have an invalid LastAttached time #35

Closed markfeinstein closed 5 months ago

markfeinstein commented 5 months ago

Change the behavior of StringToTime to return a zero value *time.Time rather than a nil to prevent a panic when sorting a slice of sessions.

fixes #34

Additional changes

joshmedeski commented 5 months ago

Thanks for this work! I'll start using testify and will be adding more tests 👍