Help with alternator wiring issue

Well, the car started and ran. But the alternator area was smoking a bit at first.