Skip to content

Commit

Permalink
Update init.rb
Browse files Browse the repository at this point in the history
Do not crash on overflow of arguments
  • Loading branch information
coolhome authored Sep 12, 2023
1 parent 8a39ac7 commit f4412ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/init.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

# Manage installing, upgrading and uninstalling packages
class ChocolateyTask < TaskHelper
def task(action: nil, package: nil, version: nil)
def task(action: nil, package: nil, version: nil, **args)
command = [
'choco',
action,
Expand Down

0 comments on commit f4412ea

Please sign in to comment.