denoland / saaskit

A modern SaaS template built on Fresh.
https://deno.com/saaskit
MIT License
1.22k stars 153 forks source link

fix: load `.env` via `--env` for `init:stripe` task #649

Closed azohra closed 11 months ago

azohra commented 11 months ago

As per #648

Expected behavior init_stripe script runs using the STRIPE_SECRET_KEY key defined in .env and successfully returns the STRIPE_PREMIUM_PLAN_PRICE_ID to stdout, as defined in the README.md

In this PR I have loaded the .env via the --env flag in the init:stripe task to match the desired behaviour oulined in the README.md