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

Change limit to FLOAT and add silent mode #159

Merged
merged 4 commits into from
Sep 6, 2018

Conversation

evgygor
Copy link

@evgygor evgygor commented Sep 5, 2018

This PR contains:

  • Implement silent mode according to Avoid print of list of duplication #152

  • Change the limit type from NUMBER to FLOAT to provide more accurate threshold.
    Sometimes the integer threshold not enough to catch code duplication of 50 lines because it less than 1%


This change is Reviewable

@coveralls
Copy link

coveralls commented Sep 5, 2018

Coverage Status

Coverage increased (+0.1%) to 92.105% when pulling 6aa070a on evgygor:master into 71af5fc on kucherenko:master.

@kucherenko
Copy link
Owner

Thank you for PR, I will add the code to the repo, but may I ask you to fix build, as I can see we have some lint issues?

@evgygor
Copy link
Author

evgygor commented Sep 5, 2018

Sorry, first time with coffeescript :)
I fixed it now

@evgygor
Copy link
Author

evgygor commented Sep 5, 2018

Seems OK now.

@kucherenko kucherenko merged commit 611dc6c into kucherenko:master Sep 6, 2018
@kucherenko
Copy link
Owner

Thank you, added to jscpd@0.6.23

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

3 participants