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

Does not work with a new repository #132

Closed
ryanvarick opened this issue Jan 27, 2016 · 2 comments
Closed

Does not work with a new repository #132

ryanvarick opened this issue Jan 27, 2016 · 2 comments

Comments

@ryanvarick
Copy link

I think the latest version does not work with new repositories (existing repos work fine).

  1. Clone locally
  2. Create and git init new document repository
  3. Update config.yaml
  4. Start Jingo
  5. Visit localhost:6067

Results in a runtime error:

/path/to/jingo/lib/gitmech.js:288
      callback(null, data.toString().split("\n"));
                         ^
TypeError: Cannot read property 'toString' of undefined
...

Looks like the hashes function blows up when there's no repo history.

@claudioc
Copy link
Owner

Oh, that's unfortunate. Sorry, I will fix it right now

@claudioc
Copy link
Owner

Closed and released with 1.6.1.

Thank you very much for reporting. I am going to write a test to avoid more embarassing failures like this one in the future.

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