Skip to content

← All questions

analyze put a URL out of my gitignored .env.local straight into the generated env yaml

Example threads. These questions and answers were written by the SDODS team to document real problems and how to fix them. The people named are illustrative, not real users. Questions asked on this site are marked new.

Ran analyze on an app I had just been given, applied the proposal, opened the result and found this in projects/portal/envs/local.yaml:

yaml
api:
  baseUrl: https://storage.googleapis.com/<a bucket I did not know about>

That value is not in any tracked file. It is in .env.local, which is gitignored. I nearly committed it. Analyze is documented as read-only, and I had assumed read-only also meant it only read what is in source control. What exactly does it read, and how do I stop it?

3 answers

Know the answer?

Reviewed before it appears. Wrap commands and output in triple backticks and they will render as a code block.

Have a different question? Ask it.

Related