Can you sweep and mop while pregnant

Job told me I can't meet requirements cause I did that sweeping may rupture the umbilical cord. That what I heard but not sure...