Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[create-astro] CLI doesn't respect original file's indentation. #6338

Closed
1 task
ansidev opened this issue Feb 23, 2023 · 0 comments · Fixed by #6375
Closed
1 task

[create-astro] CLI doesn't respect original file's indentation. #6338

ansidev opened this issue Feb 23, 2023 · 0 comments · Fixed by #6375
Labels
- P2: nice to have Not breaking anything but nice to have (priority)

Comments

@ansidev
Copy link
Contributor

ansidev commented Feb 23, 2023

What version of astro are you using?

latest

Are you using an SSR adapter? If so, which one?

None

What package manager are you using?

pnpm

What operating system are you using?

macOS

Describe the Bug

Steps to reproduce:

  1. Run pnpm create astro@latest --template basics astro-test-0001 to generate new project.
  2. Open package.json. Its indentation was changed to tab instead of space (the original indentation is space).

Link to Minimal Reproducible Example

N/A

Participation

  • I am willing to submit a pull request for this issue.
@ansidev ansidev changed the title Create Astro CLI doesn't respect original file's indentation. [create-astro] CLI doesn't respect original file's indentation. Feb 23, 2023
@Princesseuh Princesseuh added the - P2: nice to have Not breaking anything but nice to have (priority) label Feb 23, 2023
natemoo-re added a commit that referenced this issue Feb 27, 2023
* fix(#6338): respect original indentation

* chore: add changeset
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
- P2: nice to have Not breaking anything but nice to have (priority)
Projects
None yet
2 participants