Three-alarm warehouse fire nearly spreads to condos east of downtown