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 relative paths before linking #33

Closed
jmgilman opened this issue Jun 20, 2022 · 0 comments · Fixed by #36 · May be fixed by #31
Closed

Create relative paths before linking #33

jmgilman opened this issue Jun 20, 2022 · 0 comments · Fixed by #36 · May be fixed by #31
Assignees
Labels
Effort: 1 Priority: High This issue is prioritized as high Type: Bug This issue targets a bug

Comments

@jmgilman
Copy link
Collaborator

If output is a relative path that does not exist (i.e. .github/settings.yml), the shell hook will fail to link:

install: cannot create regular file '.github/settings.yml': No such file or directory

Add a check to the hook to see if the path exists and, if not, attempt to create it before linking.

@jmgilman jmgilman added Status: Accepted This issue has been accepted Type: Bug This issue targets a bug Priority: High This issue is prioritized as high Effort: 1 labels Jun 20, 2022
@jmgilman jmgilman self-assigned this Jun 20, 2022
@jmgilman jmgilman added Status: In Progress This issue is actively being worked on and removed Status: Accepted This issue has been accepted labels Jun 20, 2022
@jmgilman jmgilman linked a pull request Jun 20, 2022 that will close this issue
@jmgilman jmgilman removed the Status: In Progress This issue is actively being worked on label Jun 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Effort: 1 Priority: High This issue is prioritized as high Type: Bug This issue targets a bug
Projects
None yet
1 participant