While working on #44 I had to split up the internal token-update
behavior a bit as we have to decide which node to use (and also which
behavior - depending on whether we have a "literal" path or a path with
an interpolation).
Unfortunately I wasn't careful enough with checking where trivia tokens
(i.e. \n, etc.) were placed.
Summary & Motivation
While working on #44 I had to split up the internal token-update behavior a bit as we have to decide which node to use (and also which behavior - depending on whether we have a "literal" path or a path with an interpolation).
Unfortunately I wasn't careful enough with checking where trivia tokens (i.e.
etc.) were placed.
\n
,This lead to situations such as
where the second white-space should've been after the path
./bar
.Backwards-incompatible changes
n/a
Further context
Affected versions: 0.10.0. Should be published in a bugfix-release.