This commit is contained in:
Felix Uhl 2023-07-30 18:17:09 -07:00 committed by GitHub
commit c0ed4ea126
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,10 @@
from thefuck.shells import shell
from thefuck.utils import for_app
@for_app('terraform')
def match(command):
return 'Inconsistent dependency lock file' in command.output
def get_new_command(command):
return shell.and_('terraform init -upgrade', command.script)