PowerShell / PowerShell/DSC

dsc resource schema leaks color to console

Open
#803 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Issue-Bug Need-Review
Dominant language
Rust
Stars
523
Forks
75
Avg merge
3d 16h
Merged PRs (30d)
24

Description

Prerequisites
  • Write a descriptive title.
  • Make sure you are able to repro it on the latest version
  • Search the existing issues.
Summary

The pretty yaml colors are leaking to the console.

Steps to reproduce
dsc resource schema -r Microsoft/OSInfo
Expected behavior
Color returns to normal in console
Actual behavior
Color stays light green
Error details
n/a
Environment data
7.6-preview4
Version

3.1-preview5

Visuals

Image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by running dsc resource schema -r Microsoft/OSInfo in PowerShell 7.6-preview4 and inspect the CLI path that renders the pretty YAML schema. Reproduce the light-green console state, then verify that the terminal color returns to normal after the command completes.

Written by the indexing model from the issue text.

Assessment

Tech stack
powershell, rust
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.