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