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

Not reporting duplicate code in different file types #592

Open
ssivanatarajan opened this issue Jun 28, 2023 · 1 comment
Open

Not reporting duplicate code in different file types #592

ssivanatarajan opened this issue Jun 28, 2023 · 1 comment

Comments

@ssivanatarajan
Copy link

ssivanatarajan commented Jun 28, 2023

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
I am running a jscpd for a css and less file both are having some duplicate code . but it is not reported in JSCPD . can we check the duplicate with different types .

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS:MAC
  • OS Version 12.6.5
  • NodeJS Version 14.18.3
  • jscpd version : 3.5.9
Screenshot 2023-06-28 at 6 41 46 AM Screenshot 2023-06-28 at 6 41 53 AM Screenshot 2023-06-28 at 6 42 12 AM

Additional context
Add any other context about the problem here.

@kucherenko
Copy link
Owner

Hi @ssivanatarajan
In general, it is different formats and that is why jscpd ignores duplication. Before your issue, it is expected behavior.
I'll try to rethink this behavior and make options for the case.

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

No branches or pull requests

2 participants