Basic Understanding of Digital Output Pins using Ohm's law

If you have a current meter connected between an output pin and ground, then it acts essentially as a short circuit, which can destroy the output pin, and even the processor.

The current is limited by the output impedance of the pin, until the pin electronics burn out.