Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Hide Pods from GitHub's PR Diffs
$('#files_bucket .file').each(function() {
var fileDiff = $(this).children('.data, .image')
var fileNameSpan = $(this).find('.info > .js-selectable-text').first()
var fileName = fileNameSpan.attr('title')
var filter = /Pods/
if (filter.test(fileName)) {
fileDiff.hide()
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment