⚠️ Remove settings param from rules match, get_new_command and side_effect

This commit is contained in:
nvbn
2015-09-07 13:00:29 +03:00
parent 382eb8b86c
commit df4d2cc88d
154 changed files with 535 additions and 465 deletions
+2 -2
View File
@@ -6,7 +6,7 @@ from ..utils import quote, is_app
@decorator
def git_support(fn, command, settings):
def git_support(fn, command):
"""Resolves git aliases and supports testing for both git and hub."""
# supports GitHub's `hub` command
# which is recommended to be used with `alias git=hub`
@@ -29,4 +29,4 @@ def git_support(fn, command, settings):
command = Command._replace(command, script=new_script)
return fn(command, settings)
return fn(command)