GitLab upgraded to 13.8.0-ee.0 - changelog: https://gitlab.com/gitlab-org/gitlab/blob/master/CHANGELOG-EE.md

Commit 3c0f7760 authored by Tim Smith's avatar Tim Smith

Fix bad autocorrected markdown

Signed-off-by: default avatarTim Smith <tsmith@chef.io>
parent ea5eba58
......@@ -47,7 +47,7 @@ In a Library as a singleton:
```ruby
# cookbook/libraries/default.rb
def only_on_windows()
def only_on_windows(&block)
yield if Chef::Sugar::PlatformFamily.windows?(@node)
end
```
......@@ -58,7 +58,7 @@ In a Library as a Mixin:
# cookbook/libraries/default.rb
include Chef::Sugar::PlatformFamily
def only_on_windows()
def only_on_windows(&block)
yield if windows?(@node)
end
```
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment