Skip to content

Conversation

@iSazonov
Copy link
Collaborator

@iSazonov iSazonov commented Jul 11, 2018

PR Summary

Related #4708.

Format Microsoft.PowerShell.Commands.Utility.csproj by codeformatter with default options.

The codeformatter is used that I compiled with newest Roslyn packages (version 2.8.2).

PR Checklist


This change is Reviewable

string content = StreamToString (stream, encoding);
string content = StreamToString(stream, encoding);
if (isDefaultEncoding) do
{
Copy link
Member

Choose a reason for hiding this comment

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

This formatting change looks odd to me. Would it be better to wrap the do..while in braces?

if (...)
{
  do
  {
  }
  while ()
}

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

CodeFormatter keeps previous formatting for if-do but remove extra braces in do-while.
So formally you ask other change - manual vs automatic formatting.

I agree that you request is right and I'll manually do the fix.

Copy link
Member

@TravisEz13 TravisEz13 left a comment

Choose a reason for hiding this comment

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

Reviewed 31 of 31 files at r1.
Reviewable status: :shipit: complete! all files reviewed

Approval is always assuming you address other's comments

@iSazonov
Copy link
Collaborator Author

@SteveL-MSFT Your comment was addressed.

Copy link
Member

@TravisEz13 TravisEz13 left a comment

Choose a reason for hiding this comment

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

Reviewed 2 of 2 files at r2.
Reviewable status: :shipit: complete! all files reviewed

@TravisEz13 TravisEz13 merged commit e9d5f68 into PowerShell:master Jul 21, 2018
@TravisEz13 TravisEz13 added the Area-Maintainers-Build specific to affecting the build label Jul 21, 2018
@iSazonov iSazonov deleted the fmt-utility-csproj branch July 23, 2018 09:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area-Maintainers-Build specific to affecting the build

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants