File tree 2 files changed +7
-3
lines changed
source/Nuke.Common/Execution
2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
6
6
7
7
## [ vNext]
8
8
9
+ ## [ 0.19.1] / 2019-05-03
10
+ - Fixed ` RequirementService ` to check for ` InjectionAttributeBase `
11
+
9
12
## [ 0.19.0] / 2019-05-03
10
13
- Changed MSBuild targets to be invoked with ` Exec ` task
11
14
- Changed ` ProcessTasks ` to avoid Mono when using WSL
@@ -349,7 +352,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
349
352
- Added CLT tasks for Git
350
353
- Fixed background color in console output
351
354
352
- [ vNext ] : https://github.com/nuke-build/common/compare/0.19.0...HEAD
355
+ [ vNext ] : https://github.com/nuke-build/common/compare/0.19.1...HEAD
356
+ [ 0.19.1 ] : https://github.com/nuke-build/common/compare/0.19.0...0.19.1
353
357
[ 0.19.0 ] : https://github.com/nuke-build/common/compare/0.18.0...0.19.0
354
358
[ 0.18.0 ] : https://github.com/nuke-build/common/compare/0.17.7...0.18.0
355
359
[ 0.17.7 ] : https://github.com/nuke-build/common/compare/0.17.6...0.17.7
Original file line number Diff line number Diff line change @@ -37,8 +37,8 @@ public static void ValidateRequirements(NukeBuild build)
37
37
private static bool IsMemberNull ( MemberInfo member , NukeBuild build , ExecutableTarget target = null )
38
38
{
39
39
var from = target != null ? $ "from target '{ target . Name } ' " : string . Empty ;
40
- ControlFlow . Assert ( member . HasCustomAttribute < ParameterAttribute > ( ) ,
41
- $ "Member '{ member . Name } ' is required { from } but not marked with a { nameof ( ParameterAttribute ) } .") ;
40
+ ControlFlow . Assert ( member . HasCustomAttribute < InjectionAttributeBase > ( ) ,
41
+ $ "Member '{ member . Name } ' is required { from } but not marked with an injection attribute .") ;
42
42
43
43
if ( NukeBuild . Host == HostType . Console )
44
44
InjectValueInteractive ( build , member ) ;
You can’t perform that action at this time.
0 commit comments