| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
update select-string cmdlet to support this update ConciseView to support this update Get-Error to support this add tests
There was a problem hiding this comment.
LGTM
Sorry, something went wrong.
|
The remaining CodeFactor issue is wrong. Looks like it's looking at an older version of that source file. |
Sorry, something went wrong.
Co-Authored-By: Joel Sallow (/u/ta11ow) <32407840+vexx32@users.noreply.github.com>
|
Remaining Codacy issues are by-design |
Sorry, something went wrong.
|
Why not add a command line option instead? It's somewhat common to support an option like --color [always|auto|never]. |
Sorry, something went wrong.
|
Jason Shirk (@lzybkr) This would cause this to be needed in a lot of places in testing. |
Sorry, something went wrong.
|
Jason Shirk (@lzybkr) you mean cmdline option to pwsh? |
Sorry, something went wrong.
|
Steve Lee (@SteveL-MSFT) - exactly. There are many tools that have such an option, mostly with the same syntax and options - here's a sampling: |
Sorry, something went wrong.
|
🎉v7.0.0-preview.6 has been released which incorporates this pull request.:tada: Handy links: |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
PR Summary
After some discussion, we decided we want to spend more time on the design for customer facing use. Since we need this due to issues with AzDevOps pipelines having some rendering problems, we will make it an undocumented env var for now to use internally and revisit this post PS7 as part of #10811.
Introduce $env:__SuppressAnsiEscapeSequences to suppress VT escape sequences in their output. Updated Select-String, ConciseView, and Get-Error to respect this variable. Also added helper to retrieve VT escape sequences.
PR Checklist