Skip to content

Commit 56dc341

Browse files
committed
make rubocop happy
1 parent 1d4fd1b commit 56dc341

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

lib/puppet/provider/package/openbsd.rb

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -117,16 +117,12 @@ def uninstall_options
117117
[join_options(resource[:uninstall_options])]
118118
end
119119

120-
def uninstall(purge = false)
121-
if purge
122-
pkgdelete "-c", "-qq", uninstall_options.flatten.compact, get_full_name
123-
else
124-
pkgdelete uninstall_options.flatten.compact, get_full_name
125-
end
120+
def uninstall
121+
pkgdelete uninstall_options.flatten.compact, get_full_name
126122
end
127123

128124
def purge
129-
uninstall(purge = true)
125+
pkgdelete "-c", "-qq", uninstall_options.flatten.compact, get_full_name
130126
end
131127

132128
def flavor

0 commit comments

Comments
 (0)