AceZz / bedtime-writer

Dreamy Tales is a Generative AI application to create bedtime stories for children. Developed by @AceZz and @Piwakk.
3 stars 0 forks source link

Bug: `.secret.local` prompt should not appear when using remote backend #287

Open AceZz opened 1 year ago

AceZz commented 1 year ago

Since secret from secret will be used with remote backend, the following should not be prompted:

tristanstampfler@Tristans-MacBook-Air functions % npm run story_gen_cache

> story_gen_cache
> node lib/src/admin/story_gen_cache.js

The `.secret.local` file will be loaded. Confirm? (y/N) y
Piwakk commented 1 year ago

See https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-secretmanager/samples/generated/v1/secret_manager_service.get_secret.js