Skip to content

Commit 3fd355d

Browse files
committed
Fix Missing @return tag
[warn]: Missing @return tag near lib/puppet/functions/foo.rb:42.
1 parent 1c5f7dc commit 3fd355d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

functions/ensure.pp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
# @summary function to cast ensure parameter to resource specific value
2+
#
3+
# @return [String]
24
function stdlib::ensure(
35
Variant[Boolean, Enum['present', 'absent']] $ensure,
46
Enum['directory', 'link', 'mounted', 'service', 'file', 'package'] $resource,

0 commit comments

Comments
 (0)