File tree 2 files changed +5
-2
lines changed
2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 39
39
<ItemGroup >
40
40
<GlobalPackageReference Include =" CSharpIsNullAnalyzer" Version =" 0.1.593" />
41
41
<GlobalPackageReference Include =" DotNetAnalyzers.DocumentationAnalyzers" Version =" 1.0.0-beta.59" />
42
- <GlobalPackageReference Include =" Nerdbank.GitVersioning" Version =" 3.6.146" />
42
+ <!-- The condition works around https://github.com/dotnet/sdk/issues/44951 -->
43
+ <GlobalPackageReference Include =" Nerdbank.GitVersioning" Version =" 3.6.146" Condition =" !('$(TF_BUILD)'=='true' and '$(dotnetformat)'=='true')" />
43
44
<GlobalPackageReference Include =" Nullable" Version =" 1.3.1" />
44
45
<GlobalPackageReference Include =" StyleCop.Analyzers.Unstable" Version =" 1.2.0.556" />
45
46
</ItemGroup >
Original file line number Diff line number Diff line change 47
47
parameters :
48
48
RunTests : ${{ parameters.RunTests }}
49
49
osRID : linux
50
- - script : dotnet format --verify-no-changes --no-restore
50
+ - script : dotnet format --verify-no-changes
51
51
displayName : 💅 Verify formatted code
52
+ env :
53
+ dotnetformat : true
52
54
- template : node.yml
53
55
- template : collect-artifacts.yml
54
56
parameters :
You can’t perform that action at this time.
0 commit comments