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

CLI: Symlink fails when working directory path contains spaces #537

Open
evgeniko opened this issue Oct 21, 2024 · 0 comments
Open

CLI: Symlink fails when working directory path contains spaces #537

evgeniko opened this issue Oct 21, 2024 · 0 comments

Comments

@evgeniko
Copy link
Collaborator

When the working directory path contains spaces, the CLI installation fails with the following error:

946 |         });
947 |     }
948 | 
949 |     // NOTE: we create this symlink whether or not the file exists.
950 |     // this way, if it's created later, the symlink will be correct
951 |     execSync(`ln -fs $(pwd)/overrides.json $(pwd)/${worktreeName}/overrides.json`, {
          ^
error: null
   errno: -1
   code: "1"
 syscall: "spawnSync"
   path: "/bin/sh"
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

No branches or pull requests

1 participant