diff options
author | Amadeus Demarzi <amadeus@users.noreply.github.com> | 2021-09-05 19:26:32 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-06 11:26:32 +0900 |
commit | 35d0bd15194b95f0dc8483ee6e727fcf3d4c8b26 (patch) | |
tree | d24db71d725f3599de3f54f7ae8bedd98efdc001 /test | |
parent | 8fd23f4b716a36a0a4b56ae34f6e6a4ab8979045 (diff) | |
download | ale-35d0bd15194b95f0dc8483ee6e727fcf3d4c8b26.zip |
Fix truncated echo (#3889)
* Fix truncated echo
In typescript, when putting the cursor on a `>` character of an arrow
function, the displayString body comes back as an empty string, and
means the split operation has 0 items, causing a failure when attempting
to call TruncatedEcho.
Even if there's a better fix, I'd assume this is a good safety since we
are injesting external data.
* Convert to use `empty()`
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions