You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems to operate under the assumption that hg id will return at the very least 2 lines. However in a repo on default with no tags or bookmarks with uncommitted changes it will return only a single line, items will then contain only 1 item, and hence result = color .. items[2] -- string.sub(items[2], 1, string.len(items[2]) - 1) on line 339 will index out of bounds & try to concat with a nil value. Or at the very least that's my understanding with poor lua skills. The consequence is cmder\vendor/clink.lua:339: attempt to concatenate field '?' (a nil value) after every command while inside the repo.
The text was updated successfully, but these errors were encountered:
It seems to operate under the assumption that hg id will return at the very least 2 lines. However in a repo on default with no tags or bookmarks with uncommitted changes it will return only a single line, items will then contain only 1 item, and hence
result = color .. items[2] -- string.sub(items[2], 1, string.len(items[2]) - 1)
on line 339 will index out of bounds & try to concat with a nil value. Or at the very least that's my understanding with poor lua skills. The consequence iscmder\vendor/clink.lua:339: attempt to concatenate field '?' (a nil value)
after every command while inside the repo.The text was updated successfully, but these errors were encountered: