cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From purplecabbage <...@git.apache.org>
Subject [GitHub] cordova-lib pull request #:
Date Tue, 21 Jun 2016 05:00:34 GMT
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


Mime
View raw message