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

chore: fix buildTs.js crashing on paths containing spaces #2639

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

wojtekmaj
Copy link
Contributor

Summary

This PR fixes a bug in buildTs.js that caused the script to crash when ran from a directory full path of which contained space(s). I discovered that when I cloned the repository to "Open source projects" directory.

Test Plan

  1. Clone this repository to any directory full path of which contains space(s).
  2. Install the repository.
    2a. Without this PR, build will crash on buildTs.js.
    2b. With this PR, build will succeed.

Checklist

  • Documentation is up to date.
  • Follows commit message convention described in CONTRIBUTING.md.
  • For functional changes, my test plan has linked these CLI changes into a local react-native checkout (instructions).

@thymikee
Copy link
Member

thymikee commented Apr 4, 2025

Thanks! Prettier is failing on that file, mind fixing it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants