diff --git a/docs/02-fundamentals/05-targets.md b/docs/02-fundamentals/05-targets.md index 9b2fa492d..42c1c7f43 100644 --- a/docs/02-fundamentals/05-targets.md +++ b/docs/02-fundamentals/05-targets.md @@ -207,7 +207,7 @@ class Build : NukeBuild // highlight-start .OnlyWhenDynamic(() => Data.Any()) // highlight-end - .Execute(() => { }); + .Executes(() => { }); } ``` @@ -229,7 +229,7 @@ class Build : NukeBuild .WhenSkipped(DependencyBehavior.Execute) // highlight-end .DependsOn(A) - .Execute(() => { }); + .Executes(() => { }); } ``` @@ -286,7 +286,7 @@ class Build : NukeBuild Target B => _ => _ .DependsOn(A) - .Execute(() => { }); + .Executes(() => { }); } ``` @@ -309,7 +309,7 @@ class Build : NukeBuild .AssuredAfterFailure() // highlight-end .DependsOn(A) - .Execute(() => { }); + .Executes(() => { }); } ```