Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions hack/verify-toc-vs-template.sh
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ result=0
kep_readmes=()
while IFS= read -r changed_file
do
# make sure to ignore the template kep itself, we don't want to self-diff
if [[ "${changed_file}" == "keps"*"README.md" ]] && [[ "${changed_file}" != "${template_readme}" ]]; then
# make sure to ignore the template kep itself, we don't want to self-diff. Ignore deleted files.
if [[ "${changed_file}" == "keps"*"README.md" ]] && [[ "${changed_file}" != "${template_readme}" ]] && [[ -f "${changed_file}" ]]; then
kep_readmes+=("${changed_file}")
fi
done < <(git diff-tree --no-commit-id --name-only -r "${base}".."${target}")
Expand Down