Skip to content

Commit 8c6ee72

Browse files
mapitmanCopilot
andauthored
Update src/RipSharp/Core/Program.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 9408f9c commit 8c6ee72

1 file changed

Lines changed: 1 addition & 9 deletions

File tree

src/RipSharp/Core/Program.cs

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,7 @@ public static async Task<int> Main(string[] args)
3636
cursorManager.RestoreCursor();
3737
};
3838

39-
try
40-
{
41-
return await RunAsync(args, cursorManager);
42-
}
43-
catch
44-
{
45-
cursorManager.RestoreCursor();
46-
throw;
47-
}
39+
return await RunAsync(args, cursorManager);
4840
}
4941

5042
private static async Task<int> RunAsync(string[] args, CursorManager cursorManager)

0 commit comments

Comments
 (0)