Adds `env: {}`
See original GitHub issueI ran npx ghat es-shims/Array.prototype.entries
inside https://github.com/es-shims/Object.getPrototypeOf, and it added env: {}
to the top of all my workflows, despite that not existing in the source. Can that be avoided?
(I realized that --verbatim
will avoid this, but I’m not sure what consequences using that setting will have)
Issue Analytics
- State:
- Created 2 years ago
- Comments:8 (5 by maintainers)
Top Results From Across the Web
Add Environment Variable (ADDENVVAR) - IBM
The Add Environment Variable (ADDENVVAR) command adds an environment variable consisting of a character string in the form 'environment variable ...
Read more >How to use a .env file to load environment variables in a dev ...
Loading environment variables using a . env file when working with Remote - Containers or GitHub Codespaces. Check out the docs for more...
Read more >about Environment Variables - PowerShell - Microsoft Learn
The PowerShell environment provider lets you get, add, change, clear, and delete environment variables in the current console. Note. Unlike ...
Read more >Adding Custom Environment Variables | Create React App
Your project can consume variables declared in your environment as if they were declared locally in your JS files.
Read more >Add multiple environment variables · Discussion #4977 - GitHub
I have a bundle of about 15 env vars I've set up locally and now want to quickly port them to the admin...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Currently the changes are:
env
or move it up if it exists--verbatim
avoids all of this.Since your intention is to leave any ghat-specific changes out, I think it’s best to leave
--verbatim
as is and introduce--no-header
or something, which:env
env
would then be preserved in place.This would be clean but honestly like for #28, comments and repositioning of
env
are made to help contributors know that these are generated files and need to be handled a certain way. Hiding them would inevitably lead to someone pushing changes and #28 automatically overriding them.I suppose I could make one change:
--verbatim
to be used with set/excludeVerbatim was specified, but changes were also requested
This would also solve https://github.com/fregante/ghat/issues/27