Skip to content

Commit

Permalink
I am too dumb to breathe
Browse files Browse the repository at this point in the history
  • Loading branch information
anaisbetts committed Nov 2, 2015
1 parent 2b3cb6c commit 29f2871
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/Squirrel/UpdateManager.ApplyReleases.cs
Original file line number Diff line number Diff line change
Expand Up @@ -543,10 +543,8 @@ internal void unshimOurselves()
.Where(x => x.StartsWith(rootAppDirectory, StringComparison.OrdinalIgnoreCase))
.ToList();

toDelete.ForEach(x => regKey.DeleteValue(x));

//toDelete.ForEach(x =>
// this.Log().LogIfThrows(LogLevel.Warn, "Failed to delete key: " + x, () => regKey.DeleteValue(x)));
toDelete.ForEach(x =>
this.Log().LogIfThrows(LogLevel.Warn, "Failed to delete key: " + x, () => regKey.DeleteValue(x)));
} catch (Exception e) {
this.Log().WarnException("Couldn't rewrite shim RegKey, most likely no apps are shimmed", e);
} finally {
Expand Down

0 comments on commit 29f2871

Please sign in to comment.