Fixing code style to avoid build fail#1428
Conversation
sharwell
left a comment
There was a problem hiding this comment.
This should not be necessary. Reviewing now.
|
I tried to build the latest master commit and got this:
|
|
I'm not sure why the build was failing for you, but either way the issues should be addressed by #1430. |
This was addressed in dotnet/arcade#3310 and #1417 |
|
All have different dev environment. For some developers, building the project can cause problems like mine. In particular, this applies to third-party developers. I propose to make changes to reduce the likelihood of problems when building the project. |
Proposed changes
service.GetTestAccessor()construction as separate variable. This will avoid the build fail and excessive calls toGetTestAccessor()method.Before
After pulling master branch project build is fail for the reason that the compiler can't recognize
GetTestAccessor()method.Screenshots
After
Project build is successful
Test environment(s)
Microsoft Reviewers: Open in CodeFlow