Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Bharath Khambadkone
    @bkone
    Hi @kucherenko!
    Andrey Kucherenko
    @kucherenko
    hello
    Bharath Khambadkone
    @bkone
    @kucherenko we are having an issue with passing multiple excludes. It handles one exclude fine though. Any thoughts?
    Andrey Kucherenko
    @kucherenko
    sorry for late answer, may I ask you describe steps to reproduce? is it excludes from config files or from command line?
    also you can put this issue here https://github.com/kucherenko/jscpd/issues
    Bharath Khambadkone
    @bkone
    From the command line. Config file seems to be working fine. Will add the steps to the issues. Thanks!
    rubennunes
    @rubennunes
    how can i install jscpd for using in windows ambient? The project in question is an android projet(java).
    Andrey Kucherenko
    @kucherenko
    you should install nodejs and npm before and after that run npm install -j jscpd
    Sathors
    @Sathors
    Hi guys, I wanted to know, do you use the AST to find the duplicates?
    firfur
    @firfur
    how do I run this on a single .java file?
    Zachary Abresch
    @zacharyabresch

    Hi! Can you recommend the best way to implement multiple exclude locations? I tried from CLI but perhaps I have the format wrong. Not entirely sure of how the config file would be setup for this.

    jscpd -f "**/*.js" -e "**/dist/**" -e "**/node_modules/**" -e "**/node_cache/**" -e "**/assets/javascripts/vendor/**" -e "**/bower_components/**" -d ./

    node_modules keeps getting included though (and possibly others ... hard to tell from output ATM)

    Zachary Abresch
    @zacharyabresch
    BTW, I also tried this from the config file and got some excludes to work. Currently I'm hitting an issue that -f "**/*.js" seems to override the excludes because node_modules keeps getting included.
    Gaurav Deshpande
    @gaurav9822
    Hi @kucherenko how to skip import statements for Java ?