Pumping while sick

Is it a good idea to collect while I’m sick? I’ve heard your breast milk contains the antibodies to keep your little one safe. Baby is due tomorrow and I don’t want her to catch what I have.