Skip to content
This repository has been archived by the owner on Nov 20, 2023. It is now read-only.

Refactor core process extensions #789

Merged
merged 8 commits into from
Nov 18, 2020
Merged

Refactor core process extensions #789

merged 8 commits into from
Nov 18, 2020

Conversation

sirh3e
Copy link
Contributor

@sirh3e sirh3e commented Nov 13, 2020

See the commits for more information

@dnfadmin
Copy link

dnfadmin commented Nov 13, 2020

CLA assistant check
All CLA requirements met.

}

if (!int.TryParse(text, out var id))
continue;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: prefer braces around ifs.

@@ -51,26 +51,24 @@ private static void GetAllChildIdsUnix(int parentId, ISet<int> children, TimeSpa
timeout,
out var stdout);

if (!string.IsNullOrEmpty(stdout))
if (string.IsNullOrEmpty(stdout))
return;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same here.

@sirh3e
Copy link
Contributor Author

sirh3e commented Nov 17, 2020

Added braces

@jkotalik jkotalik merged commit 1f22ae5 into dotnet:master Nov 18, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants