mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-04 15:51:15 -03:00
Indent switch + case properly. https://github.com/fish-shell/fish-shell/issues/530
This commit is contained in:
@@ -497,14 +497,14 @@ static int builtin_complete(parser_t &parser, wchar_t **argv)
|
||||
{
|
||||
if (condition && wcslen(condition))
|
||||
{
|
||||
if (parser.test(condition, 0, 0, 0))
|
||||
if (parser.test(condition))
|
||||
{
|
||||
append_format(stderr_buffer,
|
||||
L"%ls: Condition '%ls' contained a syntax error\n",
|
||||
argv[0],
|
||||
condition);
|
||||
|
||||
parser.test(condition, 0, &stderr_buffer, argv[0]);
|
||||
parser.test(condition, NULL, &stderr_buffer, argv[0]);
|
||||
|
||||
res = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user