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

fix: remove appending of descriptions from different markers #56

Merged
merged 3 commits into from
Sep 23, 2022

Conversation

lander2k2
Copy link
Contributor

If there are more than two instances of an identical marker with a description, an error will be returned because the descriptions are being appended to one another. So identical markers throw an error indicating they are different if there are > 2 instances of the identical marker. This fix removes the append.

Signed-off-by: Rich Lander lander2k2@protonmail.com

If there are more than two instances of an identical marker with a
description, an error will be returned because the descriptions are
being appended to one another.  So identical markers throw an error
indicating they are different if there are > 2 instances of the
identical marker.  This fix removes the append.

Signed-off-by: Rich Lander <lander2k2@protonmail.com>
@lander2k2 lander2k2 requested a review from scottd018 September 22, 2022 15:18
Previously, the descriptions array was being checked if nil.  However,
the array of strings is never nil.  It's either an empty array or it has
string values in the array.  Therefore, the descriptions were never
added.

Signed-off-by: Rich Lander <lander2k2@protonmail.com>
Signed-off-by: Rich Lander <lander2k2@protonmail.com>
@lander2k2 lander2k2 merged commit 5db1fac into nukleros:main Sep 23, 2022
@lander2k2 lander2k2 deleted the marker-description branch September 23, 2022 20:13
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