Skip to content

Commit fddbfa9

Browse files
committed
Directly return result of execution
1 parent 94ac68e commit fddbfa9

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

SabreTools.CommandLine/CommandSet.cs

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -934,14 +934,7 @@ public bool ProcessArgs(string[] args)
934934
}
935935

936936
// Now execute the current feature
937-
if (!feature.Execute())
938-
{
939-
Console.Error.WriteLine("An error occurred during processing!");
940-
OutputFeatureHelp(topLevel.Name);
941-
return false;
942-
}
943-
944-
return true;
937+
return feature.Execute();
945938
}
946939

947940
#endregion

0 commit comments

Comments
 (0)