cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From RyanThomas73 <...@git.apache.org>
Subject [GitHub] cordova-lib issue #500: CB-11998 - cordova platform add error with cordova-c...
Date Tue, 11 Oct 2016 23:52:53 GMT
Github user RyanThomas73 commented on the issue:

    https://github.com/apache/cordova-lib/pull/500
  
    One suggestion - you could simplify the source directory mapping to:
    ```
        // Scan the files in each of the source directories.
        var sourceMaps = sourceDirs.map(function (sourceDir) {
                var absoluteSourceDir = path.join(rootDir, sourceDir);
                if (!fs.existsSync(absoluteSourceDir)) {
                    throw new Error("Source directory does not exist: " + absoluteSourceDir);
                }
                return mapDirectory(rootDir, sourceDir, include, exclude);
            });
    ```


---
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