@@ -50,7 +50,7 @@ class Build : NukeBuild
5050 . Executes ( ( ) =>
5151 {
5252 DotNetRestore ( s => s
53- . When ( ! string . IsNullOrEmpty ( PackagesDirectory ) , x=> x . SetPackageDirectory ( PackagesDirectory ) )
53+ . When ( _ => ! string . IsNullOrEmpty ( PackagesDirectory ) , x=> x . SetPackageDirectory ( PackagesDirectory ) )
5454 . SetProjectFile ( Solution ) ) ;
5555 } ) ;
5656
@@ -61,7 +61,7 @@ class Build : NukeBuild
6161 DotNetBuild ( s => s
6262 . SetProjectFile ( Solution )
6363 . SetConfiguration ( Configuration )
64- . When ( IsServerBuild , x => x . SetProperty ( "ContinuousIntegrationBuild" , "true" ) )
64+ . When ( _ => IsServerBuild , x => x . SetProperty ( "ContinuousIntegrationBuild" , "true" ) )
6565 . EnableNoRestore ( ) ) ;
6666 } ) ;
6767
@@ -85,7 +85,7 @@ class Build : NukeBuild
8585 DotNetPack ( s => s
8686 . SetConfiguration ( Configuration )
8787 . SetOutputDirectory ( ArtifactsDirectory )
88- . When ( IsServerBuild , x => x . SetProperty ( "ContinuousIntegrationBuild" , "true" ) )
88+ . When ( _ => IsServerBuild , x => x . SetProperty ( "ContinuousIntegrationBuild" , "true" ) )
8989 . EnableNoBuild ( )
9090 . EnableNoRestore ( )
9191 . SetProject ( Solution ) ) ;
@@ -110,12 +110,12 @@ class Build : NukeBuild
110110 }
111111
112112 DotNetRestore ( s => s
113- . When ( ! string . IsNullOrEmpty ( PackagesDirectory ) , x => x . SetPackageDirectory ( PackagesDirectory ) )
113+ . When ( _ => ! string . IsNullOrEmpty ( PackagesDirectory ) , x => x . SetPackageDirectory ( PackagesDirectory ) )
114114 . SetConfigFile ( RootDirectory / "NuGet.integration-tests.config" )
115115 . CombineWith ( projectFiles , ( s , p ) => s . SetProjectFile ( p ) ) ) ;
116116
117117 DotNetBuild ( s => s
118- . When ( ! string . IsNullOrEmpty ( PackagesDirectory ) , x=> x . SetPackageDirectory ( PackagesDirectory ) )
118+ . When ( _ => ! string . IsNullOrEmpty ( PackagesDirectory ) , x=> x . SetPackageDirectory ( PackagesDirectory ) )
119119 . EnableNoRestore ( )
120120 . SetConfiguration ( Configuration )
121121 . CombineWith ( projectFiles , ( s , p ) => s . SetProjectFile ( p ) ) ) ;
0 commit comments