Skip to content

Commit a7625fd

Browse files
committed
Merge branch 'hotfix/0.19.1'
2 parents 7f090f4 + b5b2f6d commit a7625fd

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

CHANGELOG.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
66

77
## [vNext]
88

9+
## [0.19.1] / 2019-05-03
10+
- Fixed `RequirementService` to check for `InjectionAttributeBase`
11+
912
## [0.19.0] / 2019-05-03
1013
- Changed MSBuild targets to be invoked with `Exec` task
1114
- 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.
349352
- Added CLT tasks for Git
350353
- Fixed background color in console output
351354

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
353357
[0.19.0]: https://github.com/nuke-build/common/compare/0.18.0...0.19.0
354358
[0.18.0]: https://github.com/nuke-build/common/compare/0.17.7...0.18.0
355359
[0.17.7]: https://github.com/nuke-build/common/compare/0.17.6...0.17.7

source/Nuke.Common/Execution/RequirementService.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ public static void ValidateRequirements(NukeBuild build)
3737
private static bool IsMemberNull(MemberInfo member, NukeBuild build, ExecutableTarget target = null)
3838
{
3939
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.");
4242

4343
if (NukeBuild.Host == HostType.Console)
4444
InjectValueInteractive(build, member);

0 commit comments

Comments
 (0)