Github user purplecabbage commented on the pull request:

    
https://github.com/apache/cordova-lib/commit/1f29cba5c9b926884a9d5412f3602e9f7af99968#commitcomment-17944697
  
    In cordova-lib/src/cordova/create.js:
    In cordova-lib/src/cordova/create.js on line 340:
    
    _suggestion:_
    ```
    var excludes = ['package.json', 'RELEASENOTES.md' , '.git', 'NOTICE', 
'LICENSE', 'COPYRIGHT', '.npmignore'];
    templateFiles = templateFiles.filter( function (value) { 
        return excludes.indexOf(value) < 0; 
    }); 
    ```
    This is both clear, and easy to add new exclude files to.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org
For additional commands, e-mail: dev-h...@cordova.apache.org

Reply via email to