⚠️ Remove settings param from rules match, get_new_command and side_effect
This commit is contained in:
@@ -2,10 +2,10 @@ from thefuck.utils import for_app
|
||||
|
||||
|
||||
@for_app('mvn')
|
||||
def match(command, settings):
|
||||
def match(command):
|
||||
return 'No goals have been specified for this build' in command.stdout
|
||||
|
||||
|
||||
def get_new_command(command, settings):
|
||||
def get_new_command(command):
|
||||
return [command.script + ' clean package',
|
||||
command.script + ' clean install']
|
||||
|
||||
Reference in New Issue
Block a user