mirror of
https://github.com/nvbn/thefuck.git
synced 2025-03-14 14:48:49 +00:00
Fix whitespace
This commit is contained in:
parent
45825e48a5
commit
7a25268950
@ -11,5 +11,5 @@ def match(command):
|
||||
def get_new_command(command):
|
||||
if "--user" not in command.script: # add --user (attempt 1)
|
||||
return command.script.replace(" install ", " install --user ")
|
||||
else: # since --user didn't fix things, let's try sudo (attempt 2)
|
||||
return 'sudo {}'.format(command.script.replace(" --user", ""))
|
||||
else: # since --user didn't fix things, let's try sudo (attempt 2)
|
||||
return 'sudo {}'.format(command.script.replace(" --user", ""))
|
||||
|
Loading…
x
Reference in New Issue
Block a user