Github user dblotsky commented on a diff in the pull request: https://github.com/apache/cordova-coho/pull/86#discussion_r32664301 --- Diff: src/audit-license-headers.js --- @@ -44,11 +46,27 @@ var COMMON_RAT_EXCLUDES = [ '*.xcworkspacedata', '*.xccheckout', '*.xcscheme', - ]; +]; + +var RAT_IGNORE_PATH = '.ratignore'; +var RATIGNORE_COMMENT_PREFIX = '#'; + +var RAT_NAME = 'apache-rat-0.10'; +var RAT_URL = 'https://dist.apache.org/repos/dist/release/creadur/apache-rat-0.10/apache-rat-0.10-bin.tar.gz'; + +function startsWith(string, prefix) { + return string.lastIndexOf(prefix, 0) === 0; +} + +function isComment(pattern) { + return startsWith(pattern, RATIGNORE_COMMENT_PREFIX) ; --- End diff -- Good call! Fixed.
--- 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