mirror of
				https://github.com/nvbn/thefuck.git
				synced 2025-10-31 07:04:12 +00:00 
			
		
		
		
	Fix sudo after npm errors
This commit is contained in:
		| @@ -5,6 +5,7 @@ from thefuck.rules.sudo import match, get_new_command | ||||
| def test_match(): | ||||
|     assert match(Command('', '', 'Permission denied')) | ||||
|     assert match(Command('', '', 'permission denied')) | ||||
|     assert match(Command('', '', "npm ERR! Error: EACCES, unlink")) | ||||
|     assert not match(Command('', '', '')) | ||||
|  | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user