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

Wrong path used for hooks #1

Closed
bittersweet opened this issue Sep 16, 2011 · 1 comment
Closed

Wrong path used for hooks #1

bittersweet opened this issue Sep 16, 2011 · 1 comment

Comments

@bittersweet
Copy link

I'm not really familiar with the path module (or node in general) but it seems the paths like git.success are not getting expanded correctly in my situation.

I have a project called metric at ~/projects/metric. When I run concrete from within ~/projects it is trying to execute metric/.git/hooks/build-worked'instead of /Users/username/projects/metric/.git/hooks/build-worked

Let me know if you require more information!

@ryankee
Copy link
Owner

ryankee commented Sep 16, 2011

The path was running from your current working directory. This shouldn't have caused an issue as Node was running a chdir into the directory supplied, but I've gone ahead and added full paths to everything.

Fixed by 0cbadf5

@ryankee ryankee closed this as completed Sep 16, 2011
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

2 participants