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
Manual string-split to lines using .split("\n") is more concisely written as .lines(), as both split("\n") or split("\r\n") are buggy if your intention is to precisely extract lines from the text. For dynamic inputs using a more robust solution such as lines(), is preferred over split('\n').
Occurrences
There is 1 occurrence of this issue in the repository.
Description
Manual string-split to lines using
.split("\n")
is more concisely written as.lines()
, as bothsplit("\n")
orsplit("\r\n")
are buggy if your intention is to precisely extract lines from the text. For dynamic inputs using a more robust solution such aslines()
, is preferred oversplit('\n')
.Occurrences
There is 1 occurrence of this issue in the repository.
See all occurrences on DeepSource → deepsource.io/gh/tari-project/gh-pilot/issue/RS-W1217/occurrences/
The text was updated successfully, but these errors were encountered: