Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Does not work with a new repository #132

@ryanvarick

Description

@ryanvarick

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions