astro-remote icon indicating copy to clipboard operation
astro-remote copied to clipboard

fix: incorrectly removing initial characters due to trailing whitespace

Open chelkyl opened this issue 9 months ago • 2 comments

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.

chelkyl avatar Apr 26 '24 04:04 chelkyl

🦋 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

changeset-bot[bot] avatar Apr 26 '24 04:04 changeset-bot[bot]

Sounds good! The force push was to correct the changeset reference from indent to getIndent.

chelkyl avatar Apr 27 '24 22:04 chelkyl