mirror of
https://github.com/nvbn/thefuck.git
synced 2025-01-19 04:21:14 +00:00
Add missing cases for the no_such_file
rule
This commit is contained in:
parent
5504aa44a1
commit
08a2065119
@ -3,7 +3,9 @@ import re
|
||||
|
||||
patterns = (
|
||||
r"mv: cannot move '[^']*' to '([^']*)': No such file or directory",
|
||||
r"mv: cannot move '[^']*' to '([^']*)': Not a directory",
|
||||
r"cp: cannot create regular file '([^']*)': No such file or directory",
|
||||
r"cp: cannot create regular file '([^']*)': Not a directory",
|
||||
)
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user