astro-remote
astro-remote copied to clipboard
fix: incorrectly removing initial characters due to trailing whitespace
This PR resolves issue #27 by updating the internal getIndent
function to use trimStart
instead of trim
so that it only counts whitespace at the beginning.
See internal test-issue27
from the playground.
🦋 Changeset detected
Latest commit: 956acef48fd960af26a7b813d203cd77443aeb98
The changes in this PR will be included in the next version bump.
This PR includes changesets to release 1 package
Name | Type |
---|---|
astro-remote | Patch |
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR
Sounds good! The force push was to correct the changeset reference from indent
to getIndent
.