jamestalmage / supports-hyperlinks

Detect whether a terminal emulator supports hyperlinks
MIT License
54 stars 13 forks source link

fix: Netlify support #12

Closed ehmicky closed 1 year ago

ehmicky commented 3 years ago

This is a follow-up on #11.

Netlify CI does not run a TTY, so supports-hyperlinks currently returns false, even though OSC hyperlinks are supported in Netlify (through the ansi_up dependency).

This PR fixes this by changing the position of the Netlify condition.

ehmicky commented 2 years ago

Thanks for the review @LitoMore, this is fixed now.