Commit Graph
2 Commits
Author SHA1 Message Date
dualfroz 7fc28b38e1 fix(strings): keep last char when truncate separator is absent
str.rfind returns -1 when a string separator is not present in the
truncated text. Using that -1 as a slice end dropped an extra trailing
character before appending the omission. Only adjust the truncation point
when the separator is actually found, matching the regex-separator branch
and lodash behaviour.
2026-09-04 09:04:55 +02:00
upstream 0e75093e29 Upstream dgilland/pydash state of the touched files before 4fad91125b 2026-09-04 09:04:55 +02:00