Can you cut a dog's hair when pregnant?

Clarification needed: when the dog is pregnant or when you are pregnant?