#N/A: Make missing_space_before_subcommand handle aliases correctly

This commit is contained in:
Vladimir Iakovlev
2017-04-10 23:15:12 +02:00
parent ef3aabe7c5
commit 2788ef1471
2 changed files with 3 additions and 12 deletions
@@ -9,7 +9,7 @@ def _get_executable(script_part):
def match(command):
return (not which(command.script_parts[0])
return (not command.script_parts[0] in get_all_executables()
and _get_executable(command.script_parts[0]))