Revert "Fix missing "promise kept" status for the last line in a file."

This reverts commit b6475a3a252544cc41571a9714ed3add922fa57e.