#351 Speed-up mvn rules, pep8 fixes
This commit is contained in:
@@ -1,8 +1,11 @@
|
||||
from thefuck import shells
|
||||
from thefuck.utils import for_app
|
||||
|
||||
|
||||
@for_app('mvn')
|
||||
def match(command, settings):
|
||||
return 'No goals have been specified for this build' in command.stdout and command.script.startswith('mvn')
|
||||
return 'No goals have been specified for this build' in command.stdout
|
||||
|
||||
|
||||
def get_new_command(command, settings):
|
||||
return [ command.script + ' clean package', command.script + ' clean install']
|
||||
return [command.script + ' clean package',
|
||||
command.script + ' clean install']
|
||||
|
||||
Reference in New Issue
Block a user