We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent afd005b commit 5ab7103Copy full SHA for 5ab7103
RetailCoder.VBE/App.cs
@@ -89,16 +89,15 @@ private static void EnsureTempPathExists()
89
Directory.CreateDirectory(ApplicationConstants.RUBBERDUCK_TEMP_PATH);
90
}
91
// The parser swallows the error if deletions fail - clean up any temp files on startup
92
- try
93
- {
94
- foreach (var file in new DirectoryInfo(ApplicationConstants.RUBBERDUCK_TEMP_PATH).GetFiles())
+ foreach (var file in new DirectoryInfo(ApplicationConstants.RUBBERDUCK_TEMP_PATH).GetFiles())
+ { try
95
{
96
- file.Delete();
+ file.Delete();
+ }
97
+ catch
98
+ {
99
+ // Yeah, don't care here either.
100
- }
- catch
101
- // Yeah, don't care here either.
102
103
104
0 commit comments