Fix sudo after npm errors
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
def match(command):
|
||||
return 'permission denied' in command.stderr.lower()
|
||||
return ('permission denied' in command.stderr.lower()
|
||||
or 'EACCES' in command.stderr)
|
||||
|
||||
|
||||
def get_new_command(command):
|
||||
|
||||
Reference in New Issue
Block a user