# fix\(diagnostics\): tolerate carriage returns in environment probe \(\#290\) · lucenx/codexbar-plasma

[View on GitCafe](https://git.cafe/lucenx/codexbar-plasma/commit/93dd6e9ee41c352a70b310dd6ed936eb725b3394)

Repository: [lucenx/codexbar-plasma](https://git.cafe/lucenx/codexbar-plasma)

Visibility: public

Requested revision: 93dd6e9ee41c352a70b310dd6ed936eb725b3394

Requested commit: 93dd6e9ee41c352a70b310dd6ed936eb725b3394

Commit: 93dd6e9ee41c352a70b310dd6ed936eb725b3394

Tree: a99559f3c7b20603dc68f256c74d9cba747d6d43

Author: Simone

Committer: GitHub

## Message

```
fix(diagnostics): tolerate carriage returns in environment probe (#290)

* fix(diagnostics): tolerate carriage returns in environment probe

Normalize newlines before splitting stdout in environmentSummary so that
CRLF output from wrappers or shells does not leave a trailing carriage
return that trips control-character path rejection. Also mark the probe
as failed immediately when checking versions with an empty command path.

* docs(changelog): describe CRLF normalization for environment probe
```

## Parents

- [8a88ee0b89215b44f485c49cf4f1d6993abe8916](https://git.cafe/lucenx/codexbar-plasma/commit/8a88ee0b89215b44f485c49cf4f1d6993abe8916?format=markdown)

[Source at this commit](https://git.cafe/lucenx/codexbar-plasma/tree/93dd6e9ee41c352a70b310dd6ed936eb725b3394?format=markdown)
