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

Get top-level path from git itself #151

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

Conversation

nvasilakis
Copy link

This patch fixes #150. Feel free to edit.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 95.413% when pulling 33f5a36 on nvasilakis:master into a84bdc8 on observing:master.

@mattiasjosefsson
Copy link

This PR would most likely solve the issues I'm having, would love to se it getting merged

@@ -8,8 +8,11 @@ var fs = require('fs')
, os = require('os')
, hook = path.join(__dirname, 'hook')
, root = path.resolve(__dirname, '..', '..')
, spawn = require('child_process').spawnSync

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nvasilakis Could you please correct it to

Suggested change
, spawn = require('child_process').spawnSync
, spawn = require('child_process').spawn

By https://stackoverflow.com/a/44643419/1535127 it is the fix of Travis build here and quite anticipated fix in this repo.

@LecrisUT LecrisUT mentioned this pull request Jul 6, 2023
13 tasks
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.

Does not find correct root.
4 participants