Skip to content

Fix: handle the PREFIX directory creation #5

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

Merged
merged 2 commits into from
Feb 6, 2022
Merged

Conversation

barelyhuman
Copy link
Owner

There might be cases where the prefixed directory might not exist and the install command will fail silently and doesn't make much sense as it abstracts the debugging info.

The PR tries to fix that by making sure the user has perms to create the PREFIX directory and creates it for them , CI environments should theoretically be able to handle the permissions by default but still needs a viable test before confirming that (add it as a url feature flag to check this without breaking existing usecases)

@barelyhuman barelyhuman linked an issue Feb 4, 2022 that may be closed by this pull request
@barelyhuman barelyhuman marked this pull request as draft February 4, 2022 00:40
@barelyhuman barelyhuman added this to the v0.0.5 - Patch 5 milestone Feb 4, 2022
@barelyhuman barelyhuman marked this pull request as ready for review February 6, 2022 10:44
the target directory creation while works will need checks
and might create symlinks instead of the directory on certain
cases, thus the need for a note
@barelyhuman barelyhuman force-pushed the fix/mkdir-prefix-path branch from 60846bb to f8a0933 Compare February 6, 2022 11:10
@barelyhuman barelyhuman merged commit f8a0933 into dev Feb 6, 2022
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.

Fails to install if local bin folder does not exist on macOS
1 participant