Closed jmederosalvarado closed 1 year ago
Passing \\ to lastIndexOf ultimately passed an empty string to shouldReindex which caused shouldReindex to always return true.
\\
lastIndexOf
shouldReindex
Note: \\ is the path delimiter on windows, maybe this worked on windows before, but it's not crossplatform.
Passing
\\
tolastIndexOf
ultimately passed an empty string toshouldReindex
which causedshouldReindex
to always return true.Note:
\\
is the path delimiter on windows, maybe this worked on windows before, but it's not crossplatform.