sgwilym / nova-deno

A Deno extension for Nova.
https://extensions.panic.com/extensions/co.gwil/co.gwil.deno/
MIT License
13 stars 1 forks source link

Improve error handling when Deno is missing #26

Closed belcar-s closed 2 years ago

belcar-s commented 2 years ago

Please let me know if I'm overcomplicating things; this is just a quick experiment.

I made some changes to improve the extension's behavior when Deno isn't installed. Here's a recording from my ancient iMac, in which there's no Deno:

https://user-images.githubusercontent.com/73370025/168409263-8b84aefb-1e80-48a8-90ae-33461e38ca97.mp4

Some care needs to be taken in regard to that, if the user clicks Ignore, the extension's activate code won't be run completely.

sgwilym commented 2 years ago

Love it, this is the kind of stuff that's usually left until last but makes such a difference.