sindresorhus / alfy

Create Alfred workflows with ease
MIT License
2.63k stars 104 forks source link

Support non-json `fetch` responses again #153

Closed adamkiss closed 2 years ago

adamkiss commented 2 years ago

As I noted in #152, turning off json: parsing doesn't work ever since https://github.com/sindresorhus/alfy/commit/56aed04cff57d49635a8182af8aa696c70852bfa

This puts it back, while (hopefully) not breaking json requests - it activates only if the option json is set exactly to `false

Fixes #152

adamkiss commented 2 years ago

Also, that failing test is totally from the main branch

sindresorhus commented 2 years ago

https://github.com/sindresorhus/alfy/releases/tag/v1.0.0