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

Repository 'listCommits' working when options omitted #559

Merged
merged 3 commits into from
May 27, 2019

Conversation

WJXHenry
Copy link
Contributor

@WJXHenry WJXHenry commented May 3, 2019

Fixes #508.

This PR resolves the issue of having to explicitly specify the options parameter. I also changed the existing test to properly validate a 'listCommits' function call without options.

lib/Repository.js Show resolved Hide resolved
@codecov-io
Copy link

Codecov Report

❗ No coverage uploaded for pull request base (master@09384e3). Click here to learn what that means.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff            @@
##             master     #559   +/-   ##
=========================================
  Coverage          ?   90.88%           
=========================================
  Files             ?       12           
  Lines             ?      417           
  Branches          ?        0           
=========================================
  Hits              ?      379           
  Misses            ?       38           
  Partials          ?        0
Impacted Files Coverage Δ
lib/Repository.js 81.59% <100%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 09384e3...f2cfa93. Read the comment docs.

@j-rewerts
Copy link
Member

LGTM. Thanks @WJXHenry .

@j-rewerts j-rewerts merged commit 64c34b9 into github-tools:master May 27, 2019
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.

Repository listCommits does not call callback if options are omitted
3 participants