From c53676e42f0ffde90f5eaa1ecda82599dc87a40f Mon Sep 17 00:00:00 2001 From: Shaoyuan CHEN Date: Tue, 3 Sep 2019 01:17:48 +0800 Subject: [PATCH] change sudo.py pattern to lowercase (#947) --- thefuck/rules/sudo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/thefuck/rules/sudo.py b/thefuck/rules/sudo.py index 4723de0b..a2980216 100644 --- a/thefuck/rules/sudo.py +++ b/thefuck/rules/sudo.py @@ -21,7 +21,7 @@ patterns = ['permission denied', 'edspermissionerror', 'you don\'t have write permissions', 'use `sudo`', - 'SudoRequiredError', + 'sudorequirederror', 'error: insufficient privileges']