Does Eldritch Blast travel in a straight line?

My DM and I have researched this at length and we can’t seem to find an answer anywhere. Eldritch Blast states:

A beam of crackling energy streaks toward a creature within range. Make a ranged spell attack against the target. On a hit, the target takes 1d10 force damage.

What we are unsure of is if Eldritch Blast always travels in a straight line or not. According to the spell description that seems to be RAW but there isn’t any Sage Advice or tweet (that we could find) that addresses this.

I am playing a Pact of the Raven Queen tomelock. If an enemy is mostly hiding behind some rocks (3/4 cover from me) 100 ft away but my raven can see him clearly from above (without any cover) could I see through my raven’s eyes to hit him with Eldritch Blast without the additional cover bonus?