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

fix onFile: removed cb call that have no sense #68

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

fix onFile: removed cb call that have no sense #68

wants to merge 1 commit into from

Conversation

coderaiser
Copy link
Contributor

In function onFile if !modified callback called. modified is not declared in README.md.
If we have a lot files (100, for example) because of this call running and finished has wrong values so:

  1. Callback could not be called (this could be never true if ((started === finished) && (running === 0))
  2. Callback could be called earlier then it should.

modified flag should be added to README.md I think or be deleted, because nobody knows about it.

@coderaiser coderaiser mentioned this pull request Nov 10, 2014
@coderaiser coderaiser changed the title fix onFile: removed cb call that have not sense fix onFile: removed cb call that have no sense Nov 19, 2014
@stefanpenner
Copy link

awesome, just came to this conclusion as well. @AvianFlu whats holding this up?

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.

None yet

2 participants