Pawns one file apart still win, but the attacker must watch for pins along the rank and unpin with the king before pushing.
The pawns on c5 and e5 are separated by one file. They cannot defend each other, and the black king on e8 stands in front of one of them, so the technique is a little more careful than with connected pawns.