littledivy / autopilot-deno

:rocket: Cross-platform desktop automation module for Deno.
https://autopilot.mod.land
MIT License
492 stars 15 forks source link

CACHE env var is ignored #19

Closed b-fuze closed 4 years ago

b-fuze commented 4 years ago

Describe the bug The line here will always produce checkCache: true ignoring whether the CACHE env var was set or not https://github.com/divy-work/autopilot-deno/blob/a091c759a0a1857664727a79ba1e27fcfcc3b42f/plugin/index.ts#L27

To Reproduce Use the plugin out of dev mode

Expected behavior Take the CACHE env variable into account

Screenshots N/A

Desktop (please complete the following information): N/A

Smartphone (please complete the following information): N/A

Additional context Not sure if that was intentional, but I thought I'd point it out.

littledivy commented 4 years ago

Thanks for pointing it out @b-fuze Will fix it today. You can open a PR too if you want.

littledivy commented 4 years ago

@b-fuze Fixed.