Skip to content

Commit

Permalink
chore: add comment how this module gets its information from .git folder
Browse files Browse the repository at this point in the history
  • Loading branch information
bahmutov committed Nov 27, 2018
1 parent 92a6c85 commit e2a0dd3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Expand Up @@ -36,6 +36,7 @@ commitInfo(folder)

Notes:

- Code assumes there is `.git` folder and uses Git commands to get each property, like `git show -s --pretty=%B`, see [src/git-api.js](src/git-api.js)
- Resolves with [Bluebird](https://github.com/petkaantonov/bluebird) promise.
- Only uses Git commands, see [src/git-api.js](src/git-api.js)
- If a command fails, returns null for each property
Expand Down

0 comments on commit e2a0dd3

Please sign in to comment.