ersel / spotify-cli-mac

🎶 A nodejs app to control Spotify without leaving your terminal. 🎶
MIT License
178 stars 28 forks source link

TEST: ignore iterm betas in semver comparison within printArtwork() #41

Closed hooliowobbits closed 5 years ago

hooliowobbits commented 5 years ago

disclaimers:

  1. I've never coded in js before
  2. this hasn't been tested at all; i'm not sure how to install this patch locally
  3. this may be rather inelegant, but just might work ;)
ersel commented 5 years ago

Thanks for looking into this @hooliowobbits , looks good to me. I will only replace includes with indexOf so older nodejs runtimes are supported as well.

To test locally I just invoke the main entry file index.js manually.

e.g: node index.js play

I'll get this merged shortly