Describe the bug
When the -f flag is used, the uploader skips filtering through the blocklist
|
export function manualBlacklist(): string[] { |
|
// TODO: honor the .gitignore file instead of a hard-coded list |
|
return [ |
|
'.DS_Store', |
|
'.circleci', |
|
'.git', |
|
'.gitignore', |
|
'.nvmrc', |
|
'.nyc_output', |
|
'bower_components', |
|
'jspm_packages', |
|
'node_modules', |
|
'vendor', |
|
] |
|
} |
|
|
|
export function globBlacklist(): string[] { |
|
// TODO: honor the .gitignore file instead of a hard-coded list |
|
return [ |
|
'__pycache__', |
|
'node_modules/**/*', |
|
'vendor', |
|
'.circleci', |
|
'.git', |
|
'.gitignore', |
|
'.nvmrc', |
|
'.nyc_output', |
|
'.tox', |
|
'*.am', |
|
'*.bash', |
|
'*.bat', |
|
'*.bw', |
|
'*.cfg', |
|
'*.class', |
|
'*.cmake', |
|
'*.cmake', |
|
'*.conf', |
|
'*.coverage', |
|
'*.cp', |
|
'*.cpp', |
|
'*.crt', |
|
'*.css', |
|
'*.csv', |
|
'*.csv', |
|
'*.data', |
|
'*.db', |
|
'*.dox', |
|
'*.ec', |
|
'*.ec', |
|
'*.egg', |
|
'*.egg-info', |
|
'*.el', |
|
'*.env', |
|
'*.erb', |
|
'*.exe', |
|
'*.ftl', |
|
'*.gif', |
|
'*.gradle', |
|
'*.gz', |
|
'*.h', |
|
'*.html', |
|
'*.in', |
|
'*.jade', |
|
'*.jar*', |
|
'*.jpeg', |
|
'*.jpg', |
|
'*.js', |
|
'*.less', |
|
'*.log', |
|
'*.m4', |
|
'*.mak*', |
|
'*.map', |
|
'*.md', |
|
'*.o', |
|
'*.p12', |
|
'*.pem', |
|
'*.png', |
|
'*.pom*', |
|
'*.profdata', |
|
'*.proto', |
|
'*.ps1', |
|
'*.pth', |
|
'*.py', |
|
'*.pyc', |
|
'*.pyo', |
|
'*.rb', |
|
'*.rsp', |
|
'*.rst', |
|
'*.ru', |
|
'*.sbt', |
|
'*.scss', |
|
'*.scss', |
|
'*.serialized', |
|
'*.sh', |
|
'*.snapshot', |
|
'*.sql', |
|
'*.svg', |
|
'*.tar.tz', |
|
'*.template', |
|
'*.ts', |
|
'*.whl', |
|
'*.xcconfig', |
|
'*.xcoverage.*', |
|
'*/classycle/report.xml', |
|
'*codecov.yml', |
|
'*~', |
|
'.*coveragerc', |
|
'.coverage*', |
|
'codecov.SHA256SUM', |
|
'codecov.SHA256SUM.sig', |
|
'coverage-summary.json', |
|
'createdFiles.lst', |
|
'fullLocaleNames.lst', |
|
'include.lst', |
|
'inputFiles.lst', |
|
'phpunit-code-coverage.xml', |
|
'phpunit-coverage.xml', |
|
'remapInstanbul.coverage*.json', |
|
'scoverage.measurements.*', |
|
'test-result-*-codecoverage.json', |
|
'test_*_coverage.txt', |
|
'testrunner-coverage*', |
|
] |
|
} |
Additional context
In addition to fixing this bug, rename the block list
Describe the bug
When the
-fflag is used, the uploader skips filtering through the blocklistuploader/src/helpers/files.ts
Lines 28 to 151 in 38a46e6
Additional context
In addition to fixing this bug, rename the block list