Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect warning message when running on Windows #80

Closed
a-teece opened this issue Jun 15, 2022 · 1 comment
Closed

Incorrect warning message when running on Windows #80

a-teece opened this issue Jun 15, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@a-teece
Copy link
Contributor

a-teece commented Jun 15, 2022

Describe the bug
On Windows platforms the message "dotnet list Errors: {errorOutputBuilder}" is incorrectly output to the console window due the a blank line being 2 chars (CR and LF) instead of just 1.

To Reproduce
Steps to reproduce the behavior:

  1. Run the CLI on a Windows machine

Expected behavior
The message is only output when the process error output is > Environment.NewLine.Length rather than a hard coded 1

@a-teece a-teece added the bug Something isn't working label Jun 15, 2022
@digitalcoyote
Copy link
Owner

Fixed in v3.0.2 via PR #3 on NuGetDefense.Core

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants